changeset 2431:d2efd0cbd100

adds basic meta view
author sharky93 <rishabhr123@gmail.com>
date Wed, 28 Aug 2013 01:18:40 +0530
parents bd144dc0abd5
children 0da75e403c80
files MoinMoin/themes/basic/templates/meta.html
diffstat 1 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/themes/basic/templates/meta.html	Wed Aug 28 01:18:40 2013 +0530
@@ -0,0 +1,24 @@
+{% extends theme("layout.html") %}
+{% import theme("itemviews.html") as itemviews with context %}
+
+{% set title = _("Metadata of '%(item_name)s'", item_name=item_name) %}
+
+{% block rev_navigation %}
+    {{ rev_navigation(view='frontend.show_item_meta') }}
+{% endblock %}
+
+{% block views %}
+    {{ itemviews }}
+{% endblock %}
+
+{% block content %}
+<h2>
+    {{ title }}
+    {% if show_revision %}({{ _("Revision") }} {{ rev.revid | shorten_id }}){% endif %}
+</h2>
+{% if meta_rendered %}
+<div id="moin-content-meta">
+    {{ meta_rendered }}
+</div>
+{% endif %}
+{% endblock %}