trad
[auf_rh_dae.git] / project / templates / admin_tools / dashboard / modules / app_list.html
1 {% extends "admin_tools/dashboard/module.html" %}
2 {% load i18n %}
3 {% block module_content %}
4 {% for child in module.children %}
5 <h3><a href="{{ child.url }}">{% trans child.title %}</a></h3>
6 <ul>
7 {% for model in child.models %}
8 {% spaceless %}
9 <li>
10 {% if model.change_url %}<a href="{{ model.change_url }}">{{ model.title }}</a>{% else %}{{ model.title }}{% endif %}
11 {% if model.add_url or model.change_url %}
12 <ul>
13 {% if model.add_url %}<li><a class="addlink" href="{{ model.add_url }}"><span class="icon">{% trans "Add" %}</span></a></li>{% endif %}
14 {% if model.change_url %}<li><a class="changelink" href="{{ model.change_url }}"><span class="icon">{% trans "Change" %}</span></a></li>{% endif %}
15 </ul>
16 {% endif %}
17 </li>
18 {% endspaceless %}
19 {% endfor %}
20 </ul>
21 {% endfor %}
22 {% endblock %}