mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-09-12 01:03:09 +00:00
Compacte un peu la date affiché dans le résumé de connexion à droite
This commit is contained in:
parent
e66f1eb82e
commit
6b72524561
1 changed files with 2 additions and 2 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue