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 %}
- {{view_user.username}} + {{view_user.decorated_name}}
@@ -36,7 +36,19 @@ {% if can_view_private %}{% user_menu request.user view_user %}{% endif %}
- + {% if view_user.real_name %} @@ -51,7 +63,7 @@ {% if view_user.last_seen %} - + {% endif %} {% if view_user.website %} @@ -75,10 +87,18 @@ {% endif %} {% endif %} - {% if request.user.is_superuser %} + {% if can_view_private %} - + {% endif %}

{% 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 %} +