Add possibility to have an unknown publication date
This commit is contained in:
parent
32716892d7
commit
e6cdf40fdc
3 changed files with 31 additions and 0 deletions
|
@ -16,7 +16,11 @@ Millésime {{ year_range }}
|
|||
<table class="publication-list">
|
||||
{% for bocal in publications %}
|
||||
<tr class="publication-entry">
|
||||
{% if bocal.unknown_date %}
|
||||
<td class="publication-date">Date inconnue</td>
|
||||
{% else %}
|
||||
<td class="publication-date">{{ bocal.date | date:"d/m/Y" }}</td>
|
||||
{% endif %}
|
||||
<td class="publication-body">
|
||||
<a href="{{ bocal.url }}" title="Lire le BOcal !">{{ bocal }}</a>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue