From cb81d058e5738bd9d5a0fab3334dec2371ca5013 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 21 Sep 2016 08:19:09 +0200 Subject: add column webpage in the user table --- src/web/templates/profile.html | 3 +++ src/web/templates/profile_public.html | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'src/web/templates') diff --git a/src/web/templates/profile.html b/src/web/templates/profile.html index 8751446f..9b5db48a 100644 --- a/src/web/templates/profile.html +++ b/src/web/templates/profile.html @@ -37,6 +37,9 @@ {{ form.is_public_profile.label }} {{ form.is_public_profile(class_="form-control") }} {% for error in form.is_public_profile.errors %} {{ error }}
{% endfor %} + + {{ form.webpage.label }} + {{ form.webpage(class_="form-control") }} {% for error in form.webpage.errors %} {{ error }}
{% endfor %}
{{ form.submit(class_="btn") }} diff --git a/src/web/templates/profile_public.html b/src/web/templates/profile_public.html index c67a4e91..eac36441 100644 --- a/src/web/templates/profile_public.html +++ b/src/web/templates/profile_public.html @@ -4,8 +4,11 @@

{{ user.nickname }}

-

{{ _('Member since') }} {{ user.date_created | datetime }}.

-

{{ _('Last seen:') }} {{ user.last_seen | datetime }}.

+

{{ _('Member since:') }} {{ user.date_created | datetime }}

+

{{ _('Last seen:') }} {{ user.last_seen | datetime }}

+ {% if user.webpage %} +

{{ _('Webpage:') }} {{ user.webpage | safe }}

+ {% endif %}
-- cgit