changeset 2853:77d9fd0d6504

change snippets.html to use rev.meta, not item.meta; improve wording of sample wiki-license
author RogerHaase <haaserd@gmail.com>
date Thu, 20 Nov 2014 08:20:14 -0700
parents 97f5909dabcc
children 175a55db6fae
files MoinMoin/templates/snippets.html
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/snippets.html	Wed Nov 19 12:01:56 2014 -0700
+++ b/MoinMoin/templates/snippets.html	Thu Nov 20 08:20:14 2014 -0700
@@ -32,7 +32,7 @@
 
 {# License information in the footer #}
 {% macro license_info() -%}
-    {# <p id="moin-wiki-license">Copyright by...</p> #}
+    {# <p id="moin-wiki-license">Copyright © 2014 my.org, contents licensed under ...</p> #}
 {%- endmacro %}
 
 {# Helper macro to create image links #}
@@ -77,9 +77,9 @@
             {{ item_name }} (rev {{ rev.revid | shorten_id }}),
             {{ _("modified") }} {{ rev.meta['mtime']|datetimeformat }}
             {{ _("by") }} {{ utils.editor_info(rev.meta) }}
-            {% if item.meta['tags'] %}
+            {% if rev.meta['tags'] %}
                 , {{ _("tags:") }}
-                {% for tag in item.meta['tags'] -%}
+                {% for tag in rev.meta['tags'] -%}
                     <a href="{{ url_for('frontend.tagged_items', tag=tag) }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}
                 {%- endfor -%}
             {%- endif -%}.