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