8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 22:52:26 +00:00

Compacte un peu la date affiché dans le résumé de connexion à droite

This commit is contained in:
Maël Kervella 2017-10-30 19:11:13 +00:00
parent 130e52eb11
commit 5510eed499

View file

@ -146,7 +146,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<th scope="row">Connexion</th>
<td class="text-right">
{% if request_user.has_access %}
<font color="green">Active (jusqu'au {{ request.user.end_access }})</font>
<font color="green">jusqu'au {{ request.user.end_access|date:"d b Y" }}</font>
{% else %}
<font color="red">Désactivée</font>
{% endif %}
@ -156,7 +156,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<th scope="row">Adhésion</th>
<td class="text-right">
{% if request_user.end_adhesion != None %}
<font color="green">{{ request_user.end_adhesion }}</font>
<font color="green">jusqu'au {{ request_user.end_adhesion|date:"d b Y" }}</font>
{% else %}
<font color="red">Non adhérent</font>
{% endif %}