mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
New plugin that allows the handling of an Amavisd-new SQL quarantine. NB: a DB connections manager has been added inside the lib because Django does not support multiple connections at the same time. The main consequence is that we don't use an ORM and that we have to rewrite a small wrapper that supports several DB (mysql, postgresql, etc.). Adding a dependancy to an existing ORM module (like SQLalchemy) is heavy, we don't want that for now.
13 lines
365 B
HTML
13 lines
365 B
HTML
{% load i18n %}
|
|
<ul>
|
|
{% for entry in entries %}
|
|
<li {% ifequal selection entry.name %}class="selected"{% endifequal %}>
|
|
<a href="{{ entry.url }}"
|
|
{% if entry.class %}class={{ entry.class }}{% endif %}
|
|
{% if entry.rel %}rel={{ entry.rel }}{% endif %}>
|
|
<img src="{{ entry.img }}" border="0" />
|
|
{{ entry.label }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul> |