]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/users/signature.html
Load jQuery from cdnjs
[osqa.git] / forum / skins / default / templates / users / signature.html
1 {% load i18n extra_filters %}{% spaceless %}
2
3 {% if not user.is_suspended %}
4     {% ifequal format "full" %}
5
6     {% else %}
7         <a href="{{ user.get_absolute_url }}">{{ user.decorated_name }}</a>
8         <span class="score" title="{{ user.reputation }} {% trans "reputation" %}">{{ user.reputation|decorated_int:"" }}</span>
9         {% ifequal format "badges" %}
10             {% if user.gold %}
11             <span title="{{ user.gold }} {% trans "badges" %}">
12                 <span class="badge1">&#9679;</span>
13                 <span class="badgecount">{{ user.gold }}</span>
14             </span>
15             {% endif %}
16             {% if user.silver %}
17             <span title="{{ user.silver }} {% trans "badges" %}">
18                 <span class="silver">&#9679;</span>
19                 <span class="badgecount">{{ user.silver }}</span>
20             </span>
21             {% endif %}
22             {% if user.bronze %}
23             <span title="{{ user.bronze }} {% trans "badges" %}">
24                 <span class="bronze">&#9679;</span>
25                 <span class="badgecount">{{ user.bronze }}</span>
26             </span>
27             {% endif %}
28         {% endifequal %}
29     {% endifequal %}
30 {% else %}
31     <a class="suspended-user" href="{{ user.get_absolute_url }}">{{ user.decorated_name }}</a>{% trans "(suspended)" %}
32 {% endif %}
33 {% endspaceless %}