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