X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0f2d00f9d7d5d28149707f66c719b28edfe51aed..1d02164e7c7c23bb6194d73aeddd215f0e638293:/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..728e7b3 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 %} @@ -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 "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 %}