misc: include date in current forms cell (#9081)

This commit is contained in:
Frédéric Péters 2015-12-13 14:14:22 +01:00
parent 4b0c55d919
commit ef5fa839a8
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
{% load combo %}
<h2>Mes démarches en cours</h2>
<p>Cliquez sur une de vos démarches en cours pour en afficher le détail.</p>
{% for slug, forms in current_forms.iteritems %}
@ -6,7 +7,7 @@
<ul>
{% for data in forms.data|dictsortreversed:"form_receipt_date" %}
{% if data.url and data.title and not data.form_status_is_endpoint %}
<li><a href="{{ data.url }}">{{ data.name }} ({{data.status}})</a></li>
<li><a href="{{ data.url }}">{{ data.name }}, {{data.datetime|strptime:'%Y-%m-%d %H:%M:%S'|date:'d/m/Y'}}, ({{data.status}})</a></li>
{% endif %}
{% endfor %}
</ul>