X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/d58b0945d43fb0704ceac546371389a04da2e284..2dd371482b63066c3c8c828977efe2014c5dc13e:/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 ab6a34f..55b90ce 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -7,8 +7,8 @@ {% load markup %} {% load user_tags %} -
- {{view_user.username}} +
+ {{view_user.decorated_name}}
@@ -21,8 +21,13 @@
-
{{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 %}
@@ -46,7 +51,7 @@ {% if view_user.last_seen %} {% trans "last seen" %} - {% diff_date view_user.last_seen %} + {% diff_date view_user.last_activity %} {% endif %} {% if view_user.website %} @@ -70,10 +75,18 @@ {% endif %} {% endif %} - {% if request.user.is_superuser %} + {% if can_view_private %} {% 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 %} + {% endif %}