X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1d02164e7c7c23bb6194d73aeddd215f0e638293..162b4fd442c169a61d2f5b2b3bd613546c8472da:/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 728e7b3..e14cbf8 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,32 +21,20 @@
-
{{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 %} @@ -62,12 +51,12 @@ {% if view_user.last_seen %} - + {% endif %} {% if view_user.website %} - + {% endif %} @@ -86,10 +75,18 @@ {% endif %} {% endif %} - {% if request.user.is_superuser %} + {% if can_view_private %} - + {% endif %}
- {% comment %}{% user_moderation request.user view_user %}{% endcomment %} -

{% trans "Registered user" %}

{% trans "last seen" %}{% diff_date view_user.last_seen %}{% diff_date view_user.last_login %}
{% 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 %} +