From a968a75df7f7525a3b022f2cacc0ec08aef6ce66 Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 31 Mar 2010 12:12:43 -0400 Subject: [PATCH] ali's requested changes --- .../templates/markupwiki/edit_article.html | 14 ++++++++++++-- markupwiki/templates/markupwiki/history.html | 18 +++++++++++++----- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/markupwiki/templates/markupwiki/edit_article.html b/markupwiki/templates/markupwiki/edit_article.html index 8d2c474..6424ed4 100644 --- a/markupwiki/templates/markupwiki/edit_article.html +++ b/markupwiki/templates/markupwiki/edit_article.html @@ -9,11 +9,21 @@ {% endblock article_title %} {% block article_meta %} + {% if article %} + view article | + view history + {% endif %} {% endblock %} {% block article_body %}
- {{ form.as_ul }} - +
{% endblock %} diff --git a/markupwiki/templates/markupwiki/history.html b/markupwiki/templates/markupwiki/history.html index c6792cb..6657527 100644 --- a/markupwiki/templates/markupwiki/history.html +++ b/markupwiki/templates/markupwiki/history.html @@ -4,18 +4,23 @@ {{article.title}} [History] {% endblock %} -{% block article_meta %} {% endblock %} +{% block article_meta %} + view article + {% if article.editable %} + edit article | + {% endif %} +{% endblock %} {% block article_body %} - + - - + + {% for version in versions %} @@ -32,8 +37,11 @@ {% endfor %} +
Version Author Timestamp Compare From Compare To
- + {% endblock %}