aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/profile.html3
-rw-r--r--src/web/templates/profile_public.html7
2 files changed, 8 insertions, 2 deletions
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 %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+
+ {{ form.webpage.label }}
+ {{ form.webpage(class_="form-control") }} {% for error in form.webpage.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
<br />
{{ form.submit(class_="btn") }}
</form>
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 @@
<h1>{{ user.nickname }}</h1>
<div class="row">
<div class="col-md-12">
- <p>{{ _('Member since') }} {{ user.date_created | datetime }}.</p>
- <p>{{ _('Last seen:') }} {{ user.last_seen | datetime }}.</p>
+ <p>{{ _('Member since:') }} {{ user.date_created | datetime }}</p>
+ <p>{{ _('Last seen:') }} {{ user.last_seen | datetime }}</p>
+ {% if user.webpage %}
+ <p>{{ _('Webpage:') }} <a href="{{ user.webpage | safe }}">{{ user.webpage | safe }}</a></p>
+ {% endif %}
</div>
</div>
bgstack15