From 7c65351462310b6c4cdb4f8ea8688ea0deb0bc07 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 14 Aug 2019 15:49:04 +0200 Subject: [PATCH] format FC address from detail fields (#35406) --- templates/authentic2/accounts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/authentic2/accounts.html b/templates/authentic2/accounts.html index ebcee55..abe1c4c 100644 --- a/templates/authentic2/accounts.html +++ b/templates/authentic2/accounts.html @@ -128,7 +128,7 @@ {% if user.fc_accounts.all.0.get_user_info.address %}
  • ADRESSE FOURNIE PAR FRANCECONNECT - {% firstof user.fc_accounts.all.0.get_user_info.address.formatted user.fc_accounts.all.0.get_user_info.address %} + {% with address=user.fc_accounts.all.0.get_user_info.address %}{% if address %}{{ address.street_address }}, {{ address.postal_code }} {{ address.locality }}{% if address.country and address.country.upper != "FRANCE" %}, {{ address.country }}{% endif %}{% endif %}{% endwith %}
  • {% else %}