in case the validation button was moved in the dropdown
[myslice.git] / 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>