changeset 2451:f82de71e4c64

removes redundant macro local_panel from show.html
author sharky93 <rishabhr123@gmail.com>
date Sun, 08 Sep 2013 22:06:12 +0530
parents 1691455778f1
children 83978026479a
files MoinMoin/themes/basic/templates/show.html
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/show.html	Sun Sep 08 22:01:34 2013 +0530
+++ b/MoinMoin/themes/basic/templates/show.html	Sun Sep 08 22:06:12 2013 +0530
@@ -3,19 +3,6 @@
 {% import theme("itemviews.html") as itemviews with context %}
 {% set exists = storage.has_item(item_name) %}
 
-{# Helper macro to generate the local panel #}
-{% macro local_panel_main(panelname, paneltitle) -%}
-    {% for endpoint, href, iconcls, label, title in panelname %}
-        {% if loop.first %}
-            <div class="list-group-item">{{ _(paneltitle) }}</div>
-        {% endif %}
-        <a class="list-group-item{% if href == current_url %} active{% endif %}" href="{{ href }}" title="{{ title }}" rel="nofollow">
-            <i class="{{ iconcls }} icon-fixed-width"></i>
-            {{ label }}
-        </a>
-    {% endfor %}
-{% endmacro %}
-
 {% block views %}
     {{ itemviews }}
 {% endblock %}