X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/e56473b84a25d665bd56725cafc4cc284121ed93..32509c7ba5495ee0b0e42b0343cbd2a6125532cd:/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 b533f00..656c0ce 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -8,7 +8,7 @@ {% load user_tags %}
{% 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_login %} | +{% 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 %} + | |
{% trans "Send me a validation link." %} + {% endifequal %} + {% endif %} + |