X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/82cab8e19aff9e3f0aad4ebc7168a4bd241d0efe..2c3ba81e19fd6d84ab208ad90a48fd81e4780c29:/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 08f006f..a99691c 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -6,8 +6,9 @@ {% load i18n %} {% load markup %} {% load user_tags %} -
- {{view_user.username}} + +
+ {{view_user.decorated_name}}
@@ -20,34 +21,34 @@
-
{{view_user.reputation|intcomma}}
-

{% trans "reputation" %}

+ {% if not view_user.is_suspended %} +
{{view_user.reputation|intcomma}}
+

{% trans "reputation" %}

+ {% else %} +
{% trans "Suspended" %}
+

{{ view_user.suspension.extra.publicmsg }}

+ {% endif %}
+ {% if can_view_private %}{% user_menu request.user view_user %}{% endif %} - {% if view_user != request.user and request.user.is_superuser %} - - - {% endif %} - {% if can_view_private %} - - - - {% endif %} - - + {% if view_user.real_name %} @@ -62,12 +63,12 @@ {% if view_user.last_seen %} - + {% endif %} {% if view_user.website %} - + {% endif %} @@ -86,12 +87,28 @@ {% endif %} {% endif %} - {% if request.user.is_superuser %} + {% if can_view_private %} - + {% endif %} + + + +
- {% user_moderation request.user view_user %} -

{% 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_seen %}{% diff_date view_user.last_activity %}
{% trans "user website" %}{% trans "user's website" %} {{view_user.website}}
{% 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." %} + {% endifequal %} + {% endif %} +
+ + Report user + +