diff --git a/cotisations/tex.py b/cotisations/tex.py index b7e1cb81..a7617114 100644 --- a/cotisations/tex.py +++ b/cotisations/tex.py @@ -1,3 +1,4 @@ +#-*- coding: utf-8 -*- # Re2o est un logiciel d'administration développé initiallement au rezometz. Il # se veut agnostique au réseau considéré, de manière à être installable en # quelques clics. @@ -24,6 +25,7 @@ Module in charge of rendering some LaTex templates. Used to generated PDF invoice. """ + import tempfile from subprocess import Popen, PIPE import os diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index 85db2a5f..0f4f8b2c 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -64,7 +64,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% else %}
-
{% blocktrans with end_connection=user.end_access|date:"SHORT_DATE_FORMAT" %}Connection (until {{ end_connection }} ){% endblocktrans %}
+
{% blocktrans with end_connection=users.end_access|date:"SHORT_DATE_FORMAT" %}Connection (until {{ end_connection }} ){% endblocktrans %}
{% can_create Facture %}