changeset 1840:1ffcbf6ace7e

merged
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 11 Oct 2012 22:03:58 +0200
parents 581f3c92618e (current diff) 4a551aafd1a4 (diff)
children 7a07ddddb256
files MoinMoin/templates/index.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/index.html	Thu Oct 11 12:53:17 2012 -0700
+++ b/MoinMoin/templates/index.html	Thu Oct 11 22:03:58 2012 +0200
@@ -9,7 +9,7 @@
 
 {% block action_bars_inner %}
     <ul>
-        {% if index %}
+        {% if dirs or files %}
         <li class="action-bar">
         <div class="moin-select-all">
             <span class="moin-select-allitem allitem-toselect" title="{{ _("Select All") }}">{{ _("Select All") }}</span>
@@ -23,7 +23,7 @@
             </div>
             <ul>
                 <li id="moin-create-newitem">{{ _("New item") }}</li>
-                {% if index %}
+                {% if dirs or files %}
                 <li id="moin-download-trigger">{{ _("Download") }}</li>
                 <li class="moin-action-tab"
                     id="moin-delete-trigger"