From da70cd2f50fe466907fe3e1b3f428128a1acd38a Mon Sep 17 00:00:00 2001 From: Yoan Le Clanche Date: Thu, 25 Apr 2019 15:30:48 +0200 Subject: [PATCH] display full address on profile page : https://trackers.pilotsystems.net/probarreau/0470 --- teleforma/templates/telemeta/profile_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/templates/telemeta/profile_detail.html b/teleforma/templates/telemeta/profile_detail.html index a395b885..f099163b 100644 --- a/teleforma/templates/telemeta/profile_detail.html +++ b/teleforma/templates/telemeta/profile_detail.html @@ -74,7 +74,7 @@ {% if user.is_staff or user.is_superuser or usr == user %}
{% trans "Email" %}
{{ usr.email }}
-
{% trans "Address" %}
{{ usr.profile.get.address }} {{ usr.profile.get.postal_code }} {{ usr.profile.get.city }}
+
{% trans "Address" %}
{{ usr.profile.get.address }}{% if usr.profile.get.address_detail %}, {% endif %}{{ usr.profile.get.address_detail }}{% if usr.profile.get.postal_code or usr.profile.get.city %}, {% endif %}{{ usr.profile.get.postal_code }} {{ usr.profile.get.city }}
{% trans "Telephone" %}
{{ usr.profile.get.telephone }}
{% trans "WiFi login" %}
{{ usr.profile.get.wifi_login }}
{% trans "WiFi password" %}
{{ usr.profile.get.wifi_pass }}
-- 2.39.5