X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0f2d00f9d7d5d28149707f66c719b28edfe51aed..d5134f7b8c1b8ef13f44de06844a569c433ebf29:/forum/skins/default/templates/users/info.html?ds=sidebyside diff --git a/forum/skins/default/templates/users/info.html b/forum/skins/default/templates/users/info.html index 690fc7e..a714e23 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -4,8 +4,10 @@ {% load humanize %} {% load smart_if %} {% load i18n %} -
- {{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 %} |
- {% trans "Moderate this user" %}- - - |
- |||
- {% joinitems using ' | ' %} - {% trans "update profile" %} - {% separator %} - 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 "age" %} | {% get_age view_user.date_of_birth %} {% trans "age unit" %} | + {% endif %}||
{% 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 + + | +