changeset 1660:9b133a70c982

Item-index-page non-functional actions removed
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Sat, 11 Aug 2012 18:10:30 +0530
parents d7ba0ca0b4bb
children ad8995d32748
files MoinMoin/templates/index.html
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/index.html	Sat Aug 11 15:34:58 2012 +0530
+++ b/MoinMoin/templates/index.html	Sat Aug 11 18:10:30 2012 +0530
@@ -30,6 +30,7 @@
                 </div>
                 <ul>
                     <li id="moin-create-newitem">{{ _("New item") }}</li>
+                    {% if index %}
                     <li id="moin-download-trigger">{{ _("Download") }}</li>
                     <li class="moin-action-tab"
                         id="moin-delete-trigger"
@@ -41,6 +42,7 @@
                         data-actionurl="{{ url_for('frontend.ajaxdestroy', item_name=item_name) }}">
                         {{ _("Destroy") }}
                     </li>
+                    {% endif %}
                 </ul>
             </div>
             </li>