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 %}
{% 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 %}Version | Author | Timestamp | Compare From | Compare To | -
---|