diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index 0d391551..09d499d0 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -49,7 +49,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% blocktrans with end_ban=users.end_ban|date:"SHORT_DATE_FORMAT" %}End of the ban: {{ end_ban }}{% endblocktrans %} - {% elif not users.is_adherent %} + {% elif not users.has_access %}
{% trans "No connection" %}
@@ -64,9 +64,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% else %}
-
{% trans "Connection" %}
+
{% trans "Connection" %}{% blocktrans with end_connection=user.end_access|date:"SHORT_DATE_FORMAT" %} ( Until {{ end_connection }} ){% endblocktrans %}
- {% blocktrans with end_connection=user.end_adhesion|date:"SHORT_DATE_FORMAT" %}End of connection: {{ end_connection }}{% endblocktrans %} + {% can_create Facture %} + + {% trans "Extend my connection period" %} + + {% acl_end %}
{% endif %} @@ -89,7 +93,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% if nb_machines %}
- {% trans " Machines" %}{{ nb_machines }} + {% trans " Machines" %} {{ nb_machines }}