show article title in edit page; minor css
This commit is contained in:
parent
385c20ebf3
commit
67706a2420
|
@ -103,6 +103,7 @@ def edit_article(request, id):
|
||||||
'frontend_url': frontend_url,
|
'frontend_url': frontend_url,
|
||||||
'article_width': a.view_size()[0],
|
'article_width': a.view_size()[0],
|
||||||
'article_height': a.view_size()[1],
|
'article_height': a.view_size()[1],
|
||||||
|
'article_title': a.name,
|
||||||
'rev_no': a.current_revision(),
|
'rev_no': a.current_revision(),
|
||||||
'user': request.user
|
'user': request.user
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,6 +49,7 @@ margin-left: 40px;
|
||||||
|
|
||||||
.articleList li {
|
.articleList li {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.articleTitle {
|
.articleTitle {
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block title %}
|
{% block title %}
|
||||||
Edgware Editor - Hi {{ user.username }}
|
Edgware Editor: {{ article.title }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user