This commit is contained in:
alazo 2017-04-07 09:25:51 +02:00
commit 3317da1ee5
28 changed files with 706 additions and 0 deletions

View file

@ -14,11 +14,13 @@
<h1>Liste des documents</h1>
<ol>
{% for doc in object_list %}
{% if doc.published %}
<li><a href="{% url 'document-detail' doc.id %}">{{doc}}</a></li>
{% else %}
<li>{{doc}}&nbsp;&nbsp;(en travail)</li>
{% endif %}
{% empty %}
<li>Aucun document disponible</li>
{% endfor %}