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.html3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/web/templates/profile.html b/src/web/templates/profile.html
index a8eac38f..d21608cf 100644
--- a/src/web/templates/profile.html
+++ b/src/web/templates/profile.html
@@ -36,6 +36,9 @@
{{ form.webpage.label }}
{{ form.webpage(class_="form-control") }} {% for error in form.webpage.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+ {{ form.twitter.label }}
+ {{ form.twitter(class_="form-control") }} {% for error in form.twitter.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+
{{ 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 %}
<p>{{ _('Your profile will be available <a href="%(url)s">here</a>.', url=url_for('user.profile_public', nickname=user.nickname) ) }}</p>
diff --git a/src/web/templates/profile_public.html b/src/web/templates/profile_public.html
index ea13ae63..aed5bfcc 100644
--- a/src/web/templates/profile_public.html
+++ b/src/web/templates/profile_public.html
@@ -9,6 +9,9 @@
{% if user.webpage %}
<p>{{ _('Webpage') }}: <a href="{{ user.webpage | safe }}">{{ user.webpage | safe }}</a></p>
{% endif %}
+ {% if user.twitter %}
+ <p>{{ _('Twitter') }}: <a href="{{ user.twitter | safe }}">{{ user.twitter | safe }}</a></p>
+ {% endif %}
</div>
</div>
bgstack15