-{% load i18n %}{% spaceless %}\r
-{% ifequal format "full" %}\r
+{% load i18n extra_filters %}{% spaceless %}\r
\r
-{% else %}\r
- <a href="{{ user.get_absolute_url }}">{{ user.username }}</a>\r
- <span class="score" title="{{ user.reputation }} {% trans "reputation" %}">{{ user.reputation }}</span>\r
- {% ifequal format "badges" %}\r
- {% if user.gold %}\r
- <span title="{{ user.gold }} {% trans "badges" %}">\r
- <span class="badge1">●</span>\r
- <span class="badgecount">{{ user.gold }}</span>\r
- </span>\r
- {% endif %}\r
- {% if user.silver %}\r
- <span title="{{ user.silver }} {% trans "badges" %}">\r
- <span class="silver">●</span>\r
- <span class="badgecount">{{ user.silver }}</span>\r
- </span>\r
- {% endif %}\r
- {% if user.bronze %}\r
- <span title="{{ user.bronze }} {% trans "badges" %}">\r
- <span class="bronze">●</span>\r
- <span class="badgecount">{{ user.bronze }}</span>\r
- </span>\r
- {% endif %}\r
+{% if not user.is_suspended %}\r
+ {% ifequal format "full" %}\r
+\r
+ {% else %}\r
+ <a href="{{ user.get_absolute_url }}">{{ user.decorated_name }}</a>\r
+ <span class="score" title="{{ user.reputation }} {% trans "reputation" %}">{{ user.reputation|decorated_int:"" }}</span>\r
+ {% ifequal format "badges" %}\r
+ {% if user.gold %}\r
+ <span title="{{ user.gold }} {% trans "badges" %}">\r
+ <span class="badge1">●</span>\r
+ <span class="badgecount">{{ user.gold }}</span>\r
+ </span>\r
+ {% endif %}\r
+ {% if user.silver %}\r
+ <span title="{{ user.silver }} {% trans "badges" %}">\r
+ <span class="silver">●</span>\r
+ <span class="badgecount">{{ user.silver }}</span>\r
+ </span>\r
+ {% endif %}\r
+ {% if user.bronze %}\r
+ <span title="{{ user.bronze }} {% trans "badges" %}">\r
+ <span class="bronze">●</span>\r
+ <span class="badgecount">{{ user.bronze }}</span>\r
+ </span>\r
+ {% endif %}\r
+ {% endifequal %}\r
{% endifequal %}\r
-{% endifequal %}\r
-{% endspaceless %}
\ No newline at end of file
+{% else %}\r
+ <a class="suspended-user" href="{{ user.get_absolute_url }}">{{ user.decorated_name }}</a>{% trans "(suspended)" %}\r
+{% endif %}\r
+{% endspaceless %}\r