X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/8b41b2f3a13b9f080d34a9ce0e7f815bc202417a..b97ddb66b6ffc6b7897ae6eb8b82409d66c89827:/forum/skins/default/templates/users/signature.html?ds=sidebyside diff --git a/forum/skins/default/templates/users/signature.html b/forum/skins/default/templates/users/signature.html index a34893e..2bf9aad 100644 --- a/forum/skins/default/templates/users/signature.html +++ b/forum/skins/default/templates/users/signature.html @@ -1,28 +1,33 @@ {% load i18n %}{% spaceless %} -{% ifequal format "full" %} -{% else %} - {{ user.username }} - {{ user.reputation }} - {% ifequal format "badges" %} - {% if user.gold %} - - - {{ user.gold }} - - {% endif %} - {% if user.silver %} - - - {{ user.silver }} - - {% endif %} - {% if user.bronze %} - - - {{ user.bronze }} - - {% endif %} +{% if not user.is_suspended %} + {% ifequal format "full" %} + + {% else %} + {{ user.username }} + {{ user.reputation }} + {% ifequal format "badges" %} + {% if user.gold %} + + + {{ user.gold }} + + {% endif %} + {% if user.silver %} + + + {{ user.silver }} + + {% endif %} + {% if user.bronze %} + + + {{ user.bronze }} + + {% endif %} + {% endifequal %} {% endifequal %} -{% endifequal %} -{% endspaceless %} \ No newline at end of file +{% else %} + {{ user.username }}{% trans "(suspended)" %} +{% endif %} +{% endspaceless %}