in case the validation button was moved in the dropdown
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 14 Dec 2013 11:40:08 +0000 (12:40 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 14 Dec 2013 11:40:08 +0000 (12:40 +0100)
ui/templates/widget-topmenu.html

index 12cddb9..089bd3c 100644 (file)
@@ -22,7 +22,8 @@
          <a class="dropdown-toggle" data-toggle="dropdown" href="{{ d.href }}">{{ d.label }}<b class="caret"></b></a>
          <ul class="dropdown-menu">
            {% for dd in d.contents %}
-           {% if dd.is_active %}<li class='active'>{% else %}<li class='other'>{% endif %}
+           <li class='{% if dd.is_active %}active{% else %}other{% endif %}{% if dd.disabled %} disabled{%endif%}'
+           {% if dd.domid %} id='{{dd.domid}}'{% endif %}>
            <a href="{{ dd.href }}"> {{ dd.label }} </a> </li>
            {% endfor %}
          </ul>