From 9d46031ae18d38c6bc891511ac1bff69e3ba5ab1 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Fri, 24 Aug 2018 17:00:02 +0200 Subject: [PATCH] Hotfix : users.end_conn + python2 header --- cotisations/tex.py | 2 ++ users/templates/users/profil.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 %}