Enhance year_view.html a little
This commit is contained in:
parent
edbd2fabca
commit
a5e73d284b
1 changed files with 14 additions and 0 deletions
|
@ -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> :
|
||||||
|
|
||||||
|
{% 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 %}
|
||||||
|
|
Loading…
Reference in a new issue