diff --git a/app/templates/domain/domains.html b/app/templates/domain/domains.html index 3e45e03d..0f814a57 100644 --- a/app/templates/domain/domains.html +++ b/app/templates/domain/domains.html @@ -20,11 +20,7 @@ {% if not current_user.is_anonymous %} {% endif %} @@ -49,13 +45,13 @@ {{ domain.name }} {{ domain.post_count }} + {% if not current_user.is_anonymous %} + {% if user_access('ban users', current_user.id) or user_access('manage users', current_user.id) %} - {% if not current_user.is_anonymous %} - {% if user_access('ban users', current_user.id) or user_access('manage users', current_user.id) %} - {{ _('Ban') }} - {% endif %} - {% endif %} + {{ _('Ban') }} + {% endif %} + {% endif %} {% endfor %} diff --git a/app/templates/domain/domains_banned.html b/app/templates/domain/domains_banned.html index 39ebc190..661fa9b4 100644 --- a/app/templates/domain/domains_banned.html +++ b/app/templates/domain/domains_banned.html @@ -26,7 +26,7 @@

{{ _('Domains') }}

{% if not ban_visibility_permission %} -

Your account is either too new or too low reputation to be able to see banned domains on this instance-

+

Your account is either too new or too low reputation to be able to see banned domains on this instance.

{% else %} {% if search == '' %}

All domains this instance banned