X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0f2d00f9d7d5d28149707f66c719b28edfe51aed..410bfa05ee36ed1d99356c443a5f3f6aa3ee9578:/forum/skins/default/templates/users/info.html?ds=sidebyside diff --git a/forum/skins/default/templates/users/info.html b/forum/skins/default/templates/users/info.html index 690fc7e..a8b2175 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -4,6 +4,7 @@ {% load humanize %} {% load smart_if %} {% load i18n %} +{% load user_tags %}
{{view_user.username}}
@@ -28,12 +29,8 @@ {% if view_user != request.user and request.user.is_superuser %} - {% endif %} @@ -82,8 +79,10 @@ {% if view_user.date_of_birth%} + {% if view_user.date_of_birth.year != 1900%} + {% endif %} {% endif %} {% if request.user.is_superuser %}
-

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