aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/show.html4
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>