changeset 2906:39179f10d76e

merged
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 27 Apr 2015 20:53:31 +0200
parents 6d0f25f9c371 (current diff) b031a33366c9 (diff)
children b5af7d54c352
files
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/index.html	Mon Apr 27 20:40:02 2015 +0200
+++ b/MoinMoin/templates/index.html	Mon Apr 27 20:53:31 2015 +0200
@@ -68,10 +68,6 @@
         {{ self.action_bars_inner() }}
 {% endblock %}
 
-{% macro entry_anchor(type, e) -%}
-    index-{{ type }}-{{ e.meta['itemid'] }}
-{%- endmacro %}
-
 {% set maxchars = 16 %}
 
 {% macro render_file_entry(e) %}
@@ -88,7 +84,7 @@
            {{ e.relname|truncate(maxchars, true, '..') }}
         </a>
         {% if e in dirs %}
-            <a href="#{{ entry_anchor('dir', e) }}"
+            <a href="{{ url_for('.index', item_name=e.fullname) }}"
                title="{{ _("This item also has subitems that match your filter.") }}">↓
             </a>
         {% endif %}