X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/cd19cb00154021685ea43d164a4dc8599b2e0a0e..c5240df75267cc1201c0e4673c34cc25149698e4:/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 fb6fcde..919ab8b 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,26 +30,22 @@ {% if view_user != request.user and request.user.is_superuser %} - {% endif %} - {% ifequal request.user view_user %} + {% if can_view_private %} - {% endifequal %} + {% endif %} @@ -83,8 +81,8 @@ {% if view_user.date_of_birth.year != 1900%} - - + + {% endif %} {% endif %} @@ -107,7 +105,7 @@
-

{% trans "Moderate this user" %}

-
- {{moderate_user_form.as_p}} -
-

+
+ {% comment %}{% user_moderation request.user view_user %}{% endcomment %}

{% trans "Registered user" %}

{% trans "age" %}{% get_age view_user.date_of_birth %} {% trans "age unit" %}{% 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 %}