X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/cd19cb00154021685ea43d164a4dc8599b2e0a0e..b97ddb66b6ffc6b7897ae6eb8b82409d66c89827:/forum/skins/default/templates/users/info.html?ds=inline diff --git a/forum/skins/default/templates/users/info.html b/forum/skins/default/templates/users/info.html index fb6fcde..b533f00 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -4,7 +4,10 @@ {% load humanize %} {% load smart_if %} {% load i18n %} -
+{% load markup %} +{% load user_tags %} + +
{{view_user.username}}
@@ -18,36 +21,20 @@
-
{{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 %}
+ {% if can_view_private %}{% user_menu request.user view_user %}{% endif %} - {% if view_user != request.user and request.user.is_superuser %} - - - - {% endif %} - {% ifequal request.user view_user %} - - - - {% endifequal %} @@ -64,12 +51,12 @@ {% if view_user.last_seen %} - + {% endif %} {% if view_user.website %} - + {% endif %} @@ -83,8 +70,8 @@ {% if view_user.date_of_birth.year != 1900%} - - + + {% endif %} {% endif %} @@ -107,7 +94,7 @@
-

{% trans "Moderate this user" %}

-
- {{moderate_user_form.as_p}} -
-

-

{% trans "Registered user" %}

{% trans "last seen" %}{% diff_date view_user.last_seen %}{% diff_date view_user.last_login %}
{% trans "user website" %}{% trans "user's website" %} {{view_user.website}}
{% trans "age" %}{% get_age view_user.date_of_birth %} {% trans "age unit" %}{% trans "age" %}{% get_age view_user.date_of_birth %} {% trans "age unit" %}
{% if view_user.about %} - {{view_user.about|safe|linebreaks}} + {{view_user.about|markdown}} {% endif %}