blob: 121ae48f069d6ffe4afa9aa4ffa3d60f7cb517b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<a class="user-micro-info"
href="{{user.get_absolute_url()}}?sort=reputation"
>{% trans %}karma:{% endtrans %} {{user.reputation}}</a>
{%- if user.gold or user.silver or user.bronze %}
<a class="user-micro-info"
href="{{user.get_absolute_url()}}#badges"
><span title="{{user.get_badge_summary}}">{% trans %}badges:{% endtrans %}
{% if user.gold %}
<span class='badge1'>●</span>
<span class="badgecount">{{user.gold}}</span>
{% endif %}
{% if user.silver %}
<span class='badge2'>●</span>
<span class="badgecount">{{user.silver}}</span>
{% endif %}
{% if user.bronze %}
<span class='badge3'>●</span>
<span class="badgecount">{{user.bronze}}</span>
{%- endif -%}
</span></a>
{%- endif -%}
|