Files
modoboa/templates/main/menu.html
T
Antoine Nguyen 6c7a64e947 !! VERY UNSTABLE CHANGESET !!
Many updates in this commit:
 * first work on the webmail plugin, for now only emails listing and folders browsing is supported...
 * New login form,
 * New graphical layout (still needing improvments)
 * code factoring between webmail and quarantine plugins
 * etc.
2010-01-15 12:15:15 +01:00

30 lines
852 B
HTML

{% load i18n %}
<ul>
{% for entry in entries %}
{% if entry.menu %}
<li class="dropdown">
<img src="{{ entry.img }}" border="0" />
<label>{{ entry.label }}</label>
<ul class="links">
{% for sentry in entry.menu %}
<a href="{{ sentry.url }}" name="{{ sentry.name }}">
<li>{{ sentry.label }}</li>
</a>
{% endfor %}
</ul>
</li>
{% else %}
<li {% ifequal selection entry.name %}class="selected"{% endifequal %}>
<a href="{{ entry.url }}" name="{{ entry.name }}"
{% if entry.class %}class={{ entry.class }}{% endif %}
{% if entry.rel %}rel={{ entry.rel }}{% endif %}
{% if entry.confirm %} onclick="return confirm('{{ entry.confirm }}')"{% endif %}>
<img src="{{ entry.img }}" border="0" />
{{ entry.label }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>