X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/e922f2a10ff785596a167586f87026e20bea09dd..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 919ab8b..7937ea0 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -4,10 +4,10 @@ {% load humanize %} {% load smart_if %} {% load i18n %} -{% load markup %} {% load user_tags %} -
- {{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 %} |
- {% comment %}{% user_moderation request.user view_user %}{% endcomment %} - | -|||
- {% joinitems using ' | ' %} - {% trans "update profile" %} - {% separator %} - {% trans "authentication settings" %} - {% endjoinitems %} - | -|||
{% 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 + + | +