Merge branch 'master' of https://github.com/alazo/eds
This commit is contained in:
commit
3317da1ee5
28 changed files with 706 additions and 0 deletions
|
|
@ -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}} (en travail)</li>
|
||||
{% endif %}
|
||||
|
||||
{% empty %}
|
||||
<li>Aucun document disponible</li>
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue