]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/signature.html
Load jQuery from cdnjs
[osqa.git] / forum / skins / default / templates / users / signature.html
index e8aebf3519d3223f761217a86af621f374c91eca..dbea26c44fe2074f617a0ec5a325d34898149085 100644 (file)
@@ -1,33 +1,33 @@
-{% load i18n extra_filters %}{% spaceless %}\r
-\r
-{% if not user.is_suspended %}\r
-    {% ifequal format "full" %}\r
-\r
-    {% else %}\r
-        <a href="{{ user.get_absolute_url }}">{{ user.decorated_name }}</a>\r
-        <span class="score" title="{{ user.reputation }} {% trans "reputation" %}">{{ user.reputation|decorated_int:"" }}</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
-{% else %}\r
-    <a class="suspended-user" href="{{ user.get_absolute_url }}">{{ user.decorated_name }}</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">&#9679;</span>
+                <span class="badgecount">{{ user.gold }}</span>
+            </span>
+            {% endif %}
+            {% if user.silver %}
+            <span title="{{ user.silver }} {% trans "badges" %}">
+                <span class="silver">&#9679;</span>
+                <span class="badgecount">{{ user.silver }}</span>
+            </span>
+            {% endif %}
+            {% if user.bronze %}
+            <span title="{{ user.bronze }} {% trans "badges" %}">
+                <span class="bronze">&#9679;</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 %}