X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0f2d00f9d7d5d28149707f66c719b28edfe51aed..90c5e59a561e599107bbdf196c713f29ef12a048:/forum/skins/default/templates/users/info.html diff --git a/forum/skins/default/templates/users/info.html b/forum/skins/default/templates/users/info.html index 690fc7e..38cab07 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -4,6 +4,8 @@ {% load humanize %} {% load smart_if %} {% load i18n %} +{% load markup %} +{% load user_tags %}
{{view_user.username}}
@@ -28,12 +30,8 @@ {% if view_user != request.user and request.user.is_superuser %} - {% endif %} @@ -82,8 +80,10 @@ {% if view_user.date_of_birth%} + {% if view_user.date_of_birth.year != 1900%} + {% endif %} {% endif %} {% if request.user.is_superuser %} @@ -105,7 +105,7 @@
-

{% trans "Moderate this user" %}

-
- {{moderate_user_form.as_p}} -
-

+
+ {% comment %}{% user_moderation request.user view_user %}{% endcomment %}
{% trans "age" %} {% get_age view_user.date_of_birth %} {% trans "age unit" %}
{% if view_user.about %} - {{view_user.about|safe|linebreaks}} + {{view_user.about|markdown}} {% endif %}