]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/signature.html
osqa-342
[osqa.git] / forum / skins / default / templates / users / signature.html
index a34893ec9dbc5cf2ed7404f3717941d00a5d47b6..2bf9aadc5ca84cbaae5f83c5099cd171d1096884 100644 (file)
@@ -1,28 +1,33 @@
 {% load i18n %}{% spaceless %}\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">&#9679;</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">&#9679;</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">&#9679;</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.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">&#9679;</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">&#9679;</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">&#9679;</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.username }}</a>{% trans "(suspended)" %}\r
+{% endif %}\r
+{% endspaceless %}\r