diff --git a/mhackspace/templates/wiki/article.html b/mhackspace/templates/wiki/article.html new file mode 100644 index 0000000..bd0b89a --- /dev/null +++ b/mhackspace/templates/wiki/article.html @@ -0,0 +1,51 @@ +{% extends "wiki/base.html" %} +{% load wiki_tags i18n sekizai_tags %} + + +{% block wiki_pagetitle %}{{ article.current_revision.title }}{% endblock %} + +{% block wiki_breadcrumbs %} + {% include "wiki/includes/breadcrumbs.html" %} +{% endblock %} + +{% block wiki_contents %} +
+
+
+

+ {{ article.current_revision.title }} + + {% if urlpath.parent %} + {{ urlpath.slug }} + {% endif %} + {% if article.current_revision.locked %} + {% trans "locked" %} + {% endif %} + +

+
+ +
+ +
+
+ {% block wiki_contents_tab %} + {% endblock %} +
+
+ +
+
+
+ {% include "wiki/includes/article_menu.html" %} + +
+
+ +{% endblock %} + +{% block wiki_footer_prepend %} +

+ {% trans "This article was last modified:" %} {{ article.current_revision.modified }}

+{% endblock %} diff --git a/mhackspace/templates/wiki/includes/article_menu.html b/mhackspace/templates/wiki/includes/article_menu.html index 3d98826..11434bb 100644 --- a/mhackspace/templates/wiki/includes/article_menu.html +++ b/mhackspace/templates/wiki/includes/article_menu.html @@ -2,53 +2,53 @@ {% with selected_tab as selected %} - + {% for plugin in article_tabs %} - + {% endfor %} - + {% if article|can_write:user and not article.current_revision.locked %} - + {% else %} - + {% endif %} - + {% endwith %}