diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2015-04-07 19:07:29 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2015-04-07 19:07:29 -0400 |
| commit | 14a6ca1fa68ccd471066725759da6cdbd24761dd (patch) | |
| tree | 3000d0d22e652a082197c0b6decc8498d040ba85 /templates/user/show.html | |
| parent | 0a9eefd31c92e408ca66e615c3d9d27310b223b1 (diff) | |
| parent | d26b5e0f3a0f79a6b8165004e19b65df836b1e08 (diff) | |
| download | famille-flask-14a6ca1fa68ccd471066725759da6cdbd24761dd.tar.gz | |
Merge branch 'production'
Diffstat (limited to 'templates/user/show.html')
| -rw-r--r-- | templates/user/show.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/user/show.html b/templates/user/show.html index 20464ce..3d06ea6 100644 --- a/templates/user/show.html +++ b/templates/user/show.html @@ -11,7 +11,9 @@ <tr><th>Fête</th><td>{{user.nameday or ""}}</td></tr> <tr><th>Adresse</th><td><address> {{user.address_line1 or ""}}<br/> - {{user.address_line2 or ""}}<br/> + {% if user.address_line2 %} + {{user.address_line2}}<br/> + {% endif %} {{user.address_city_line or ""}}</address> </td></tr> <tr><th>Dernière connexion</th><td>{{user.last_seen|format_date}}</td></tr> |
