Reinit
This commit is contained in:
commit
98d91f13b1
1611 changed files with 49772 additions and 0 deletions
31
templates/cms/document_list.html
Normal file
31
templates/cms/document_list.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{% extends "./base_site.html" %}
|
||||
{% load i18n static %}
|
||||
|
||||
|
||||
|
||||
|
||||
{% block coltype %}colMS{% endblock %}
|
||||
|
||||
{% block bodyclass %}{{ block.super }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<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 %}
|
||||
</ol>
|
||||
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue