X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/8b41b2f3a13b9f080d34a9ce0e7f815bc202417a..77c7fb49881b1df98ce3584468105ba78740fd48:/forum/skins/default/templates/users/signature.html diff --git a/forum/skins/default/templates/users/signature.html b/forum/skins/default/templates/users/signature.html index a34893e..9805429 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.decorated_name }} + {{ 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.decorated_name }}{% trans "(suspended)" %} +{% endif %} +{% endspaceless %}