changeset 2449:f423b258b317

fixes majority of #63, highlight of active items
author sharky93 <rishabhr123@gmail.com>
date Sun, 08 Sep 2013 18:37:59 +0530
parents 7fb6bff63aa0
children 1691455778f1
files MoinMoin/themes/basic/templates/show.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/show.html	Sun Sep 08 16:49:56 2013 +0530
+++ b/MoinMoin/themes/basic/templates/show.html	Sun Sep 08 18:37:59 2013 +0530
@@ -10,7 +10,7 @@
         {% if loop.first %}
             <div class="list-group-item">{{ paneltitle }}</div>
         {% endif %}
-        <a class="list-group-item" href="{{ href }}" title="{{ title }}" rel="nofollow">
+        <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>