git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A first stab at the ‘validatebutton’ plugin
[unfold.git]
/
ui
/
templates
/
widget-topmenu.html
diff --git
a/ui/templates/widget-topmenu.html
b/ui/templates/widget-topmenu.html
index
dbcbe1f
..
79f1bf8
100644
(file)
--- a/
ui/templates/widget-topmenu.html
+++ b/
ui/templates/widget-topmenu.html
@@
-28,7
+28,8
@@
</ul>
</li>
{% else %}
</ul>
</li>
{% else %}
- {% if d.is_active %} <li class='active'> {% else %} <li class='other'> {% endif %}
+ <li class='{% if d.is_active %}active{% else %}other{% endif %} plugin{% if d.disabled %} disabled{%endif%}'
+ {% if d.domid %} id='{{d.domid}}'{% endif %}>
<a href="{{ d.href }}"> {{ d.label }} </a> </li>
{% endif %}
{% endfor %}
<a href="{{ d.href }}"> {{ d.label }} </a> </li>
{% endif %}
{% endfor %}