eds/templates/cms/domaine_list.html

31 lines
877 B
HTML
Raw Normal View History

2017-04-07 09:17:20 +02:00
{% extends "./base_site.html" %}
{% load i18n static %}
2018-02-18 19:39:27 +01:00
2017-04-07 09:17:20 +02:00
{% block content %}
<div id="content-main">
2017-08-13 22:58:46 +02:00
<h1>Liste des domaines</h1>
<table border="0">
{% for d in object_list %}
<tr>
2018-05-23 21:16:25 +02:00
<td colspan="3">{{ d }}</td></td>
2017-08-13 22:58:46 +02:00
</tr>
{% for p in d.processus_set.all %}
<tr>
<th width="10px">&nbsp;</th>
2018-05-23 21:16:25 +02:00
<td colspan="2"><a href=" {% url 'processus-detail' p.id %}">{{ p }}</a></td>
2017-08-13 22:58:46 +02:00
</tr>
{% for m in p.module_set.all %}
<tr>
<th colspan="2" width="45px">&nbsp;</th>
2018-05-23 21:16:25 +02:00
<td><a href=" {% url 'module-detail' m.id %}">{{ m }}</a></td>
2017-08-13 22:58:46 +02:00
</tr>
{% endfor %}
{% endfor %}
{% endfor %}
</table>
2017-04-07 09:17:20 +02:00
</div>
{% endblock %}