diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-08 22:22:36 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-08 22:22:36 +0100 |
| commit | 8ab3ac64902e3216feaf6333a6ab93a0175b8b51 (patch) | |
| tree | c522a9cf9638305779339b2e4b2c8a63ac444cdc /templates/user/show.html | |
| parent | 3e83f67dd0f3e16631207596f849e0977aa6d020 (diff) | |
| download | famille-flask-8ab3ac64902e3216feaf6333a6ab93a0175b8b51.tar.gz | |
User feature (view and edit profile)
Diffstat (limited to 'templates/user/show.html')
| -rw-r--r-- | templates/user/show.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/user/show.html b/templates/user/show.html new file mode 100644 index 0000000..ef70a08 --- /dev/null +++ b/templates/user/show.html @@ -0,0 +1,15 @@ +{% extends "layout.html" %} + +{% block content %} +<h1>{{user.user_name}}</h1> + +<table> + <tr><th>Email</th><td>{{user.email or ""}}</td></tr> + <tr><th>Téléphone</th><td>{{user.phone or ""}}</td></tr> + <tr><th>Anniversaire</th><td>{{user.birthday or ""}}</td></tr> + <tr><th>Fête</th><td>{{user.nameday or ""}}</td></tr> + <tr><th>Adresse</th><td>{{user.address_line1 or ""}}<br/> + {{user.address_line2 or ""}}<br/> + {{user.address_city_line or ""}}</td></tr> + <tr><th>Dernière connexion</th><td>{{user.last_seen|format_date}}</td></tr> +{% endblock %} |
