X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/5084e9c7ae5281439d6b78f599821e7915844850..9a075e7d95c3b16c05011410de59196caaa86e66:/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 382378f..a99691c 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -36,7 +36,19 @@ {% if can_view_private %}{% user_menu request.user view_user %}{% endif %} - + {% if view_user.real_name %} @@ -51,7 +63,7 @@ {% if view_user.last_seen %} - + {% endif %} {% if view_user.website %} @@ -79,7 +91,7 @@ {% 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" %}{% if view_user.last_activity %}{% diff_date view_user.last_activity %}{% else %}{% trans "Never" %}{% endif %}{% 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 %} @@ -89,6 +101,14 @@
+ + Report user + +