{% 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 %}
{{ _('Add moderator to %(community)s', community=community.display_name()) }}
{{ render_form(form) }}
{% if potential_moderators != None %}
{% if potential_moderators -%}
{{ _('Found some people:') }}
{% for user in potential_moderators -%} {% endfor -%}
{{ render_username(user) }} {% if community_membership(user, community) != SUBSCRIPTION_MODERATOR %} {{ _('Add') }} {% else %} {{ _('Already a moderator') }} {% endif %}
{% else -%}
{{ _('No people found') }}

{{ _('Only local accounts can be added as moderators.') }}

{% endif -%}
{% endif %} {% endblock %}