From 67706a2420bbcb935b43260eb7875b7f1e215246 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 10 Jul 2011 04:59:59 +0530 Subject: [PATCH] show article title in edit page; minor css --- edgware/editor/views.py | 1 + edgware/static/css/files/publish.css | 1 + edgware/templates/editor.html | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/edgware/editor/views.py b/edgware/editor/views.py index e4ca798..5165a71 100644 --- a/edgware/editor/views.py +++ b/edgware/editor/views.py @@ -103,6 +103,7 @@ def edit_article(request, id): 'frontend_url': frontend_url, 'article_width': a.view_size()[0], 'article_height': a.view_size()[1], + 'article_title': a.name, 'rev_no': a.current_revision(), 'user': request.user } diff --git a/edgware/static/css/files/publish.css b/edgware/static/css/files/publish.css index f9de6d9..ff8f810 100644 --- a/edgware/static/css/files/publish.css +++ b/edgware/static/css/files/publish.css @@ -49,6 +49,7 @@ margin-left: 40px; .articleList li { font-size: 12px; + margin-bottom: 3px; } .articleTitle { diff --git a/edgware/templates/editor.html b/edgware/templates/editor.html index e503f32..afdf624 100644 --- a/edgware/templates/editor.html +++ b/edgware/templates/editor.html @@ -71,7 +71,7 @@ {% endblock %} {% block title %} - Edgware Editor - Hi {{ user.username }} + Edgware Editor: {{ article.title }} {% endblock %} {% block header %}