X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0f2d00f9d7d5d28149707f66c719b28edfe51aed..1cbbc10ec680da017745add73b98986197988bd3:/forum/skins/default/templates/users/info.html?ds=inline diff --git a/forum/skins/default/templates/users/info.html b/forum/skins/default/templates/users/info.html index 690fc7e..efe2b43 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -4,6 +4,9 @@ {% load humanize %} {% load smart_if %} {% load i18n %} +{% load markup %} +{% load user_tags %} +
{{view_user.username}}
@@ -18,36 +21,15 @@ -
{{view_user.reputation|intcomma}}
+
{{view_user.reputation|intcomma}}

{% trans "reputation" %}

+ {% if can_view_private %}{% user_menu request.user view_user %}{% endif %} - {% if view_user != request.user and request.user.is_superuser %} - - - - {% endif %} - {% ifequal request.user view_user %} - - - - {% endifequal %} @@ -82,8 +64,10 @@ {% if view_user.date_of_birth%} + {% if view_user.date_of_birth.year != 1900%} + {% endif %} {% endif %} {% if request.user.is_superuser %} @@ -105,7 +89,7 @@
-

{% trans "Moderate this user" %}

-
- {{moderate_user_form.as_p}} -
-

-

{% trans "Registered user" %}

{% 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 %}