X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/617e60be3c7d2e0f17639f3487a721d4efdc02c0..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/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 8ffc7fa..7937ea0 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -4,11 +4,10 @@ {% load humanize %} {% load smart_if %} {% load i18n %} -{% load markup %} {% load user_tags %}
- {{view_user.username}} + {{view_user.decorated_name}}
@@ -36,7 +35,19 @@ {% if can_view_private %}{% user_menu request.user view_user %}{% endif %}
- + {% if view_user.real_name %} @@ -51,7 +62,7 @@ {% if view_user.last_seen %} - + {% endif %} {% if view_user.website %} @@ -79,16 +90,24 @@ {% endif %} + + + +

{% trans "Registered user" %}

+

+ {% if view_user.is_superuser %} + {% trans "Administrator" %} + {% else %} + {% if view_user.is_staff %} + {% trans "Moderator" %} + {% else %} + {% trans "Registered user" %} + {% endif %} + {% endif %} +

+
{% trans "last seen" %}{% diff_date view_user.last_login %}{% diff_date view_user.last_activity %}
{% trans "email" %} - {{ view_user.email }} + {{ view_user.email }} {% if not view_user.email_isvalid %} ({% trans "not validated" %}) {% ifequal request.user view_user %} -
{% trans "Send me a validation link." %} +
{% trans "Send me a validation link." %} {% endifequal %} {% endif %}
+ + Report user + +