{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %} {% extends 'themes/' + theme() + '/base.html' %} {% else %} {% extends "base.html" %} {% endif %} %} {% from 'bootstrap/form.html' import render_form %} {% block app_content %}
{% if search == '' %}

{{ _('Blocked domains') }}

{% else %}

{{ _('Blocked domains containing "%(search)s"', search=search) }}

{% endif %} {% if not current_user.is_anonymous and current_user.trustworthy() %} {% endif %}
{% if user_access('ban users', current_user.id) or user_access('manage users', current_user.id) %}{% endif %} {% for domain in domains %} {% endfor %}
DomainActions
{{ domain.name }} {% if user_access('ban users', current_user.id) or user_access('manage users', current_user.id) %} {% if domain.banned %} {{ _('Unban') }} {% else %} {{ _('Ban') }} {% endif %} {% endif %}
{% endblock %}