changeset 2452:83978026479a

rename Item Nav. to Supplementation, gets rid of icon for its items
author sharky93 <rishabhr123@gmail.com>
date Sun, 08 Sep 2013 22:17:28 +0530
parents f82de71e4c64
children 303fed8f1f56
files MoinMoin/themes/__init__.py MoinMoin/themes/basic/templates/layout.html
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/__init__.py	Sun Sep 08 22:06:12 2013 +0530
+++ b/MoinMoin/themes/__init__.py	Sun Sep 08 22:17:28 2013 +0530
@@ -187,7 +187,7 @@
                'frontend.similar_names' : "icon-search",
                'frontend.download_item' : "icon-download-alt",
                'frontend.copy_item' : "icon-comment",
-               'special.supplementation' : "icon-comments",
+               'special.supplementation' : None,
                'frontend.show_item' : "icon-eye-open",
                'frontend.modify_item' : "icon-pencil",
                'frontend.history' : "icon-time",
--- a/MoinMoin/themes/basic/templates/layout.html	Sun Sep 08 22:06:12 2013 +0530
+++ b/MoinMoin/themes/basic/templates/layout.html	Sun Sep 08 22:17:28 2013 +0530
@@ -19,7 +19,9 @@
             <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>
+            {% if iconcls %}
+                <i class="{{ iconcls }} icon-fixed-width"></i>
+            {% endif %}
             {{ label }}
         </a>
     {% endfor %}
@@ -112,7 +114,7 @@
                         <a class="list-group-item {{ cls }}{% if url == current_url %} active{% endif %}" href="{{ url }}" {% if title %}title="{{ title }}"{% endif %}>{{ text|shorten_item_name }}</a>
                     {% endfor %}
                     
-                    {{ local_panel_main(item_navigation, "Item Navigation") }}
+                    {{ local_panel_main(item_navigation, "Supplementation") }}
 
                     {% endif %}