changeset 2938:dde4eb0904f7

revert one line of 08007ac96dda; show "Login" for all screen sizes, improve comment
author RogerHaase <haaserd@gmail.com>
date Tue, 28 Apr 2015 12:35:32 -0700
parents 456c68761e96
children e6779224aed9
files MoinMoin/themes/basic/templates/layout.html
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/layout.html	Tue Apr 28 12:17:55 2015 -0700
+++ b/MoinMoin/themes/basic/templates/layout.html	Tue Apr 28 12:35:32 2015 -0700
@@ -41,10 +41,11 @@
         rel="nofollow"
         {% if title %} title="{{ title }}" {% endif %}>
         {% if iconcls %} <i class="{{ iconcls }}"> </i> {% endif %}
-        {# needs a login url without next #}
-        {% if href == theme_supp.login_url() %}
+        {% if href == login_url %}
+            {# show "login" for all screen sizes #}
             {{ label }}
         {% else %}
+            {# hide username, settings, logout labels for sm, xs screen sizes, only icons will be visible #}
             <span class="hidden-sm hidden-xs">{{ label }}</span>
         {% endif %}
     </a>