Enhance year_view.html a little

This commit is contained in:
Théophile Bastian 2017-09-21 20:21:07 +02:00
parent edbd2fabca
commit a5e73d284b

View file

@ -1,4 +1,18 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
{% for bocal in publications %}
<ul class="publication-list">
<li class="publication-entry">
<a href="{{ bocal.url }}" title="Lire le BOcal !">{{ bocal }}</a>&nbsp;:
{% if bocal.descr %}
<span class="publication-descr">{{ bocal.descr }}</span>
<span class="publication-date">({{ bocal.date | date:"d/m/Y" }})</span>
{% else %}
<span class="publication-date">{{ bocal.date | date:"d/m/Y" }}</span>
{% endif %}
</li>
</ul>
{% endfor %}
{% endblock content %} {% endblock content %}