{#- A community's pages on the Abilian Design System. Its header carries what concerns the community and nothing else; its tools are tabs (drawn in `mockups/templates/community_base.html`). The tabs sit in one place on every page: what differs, the home's description among it, comes under them. -#} {% extends "ads_base.html" %} {% set community = g.community %} {% set manager = can_manage(current_user, community) %} {% block pretitle %}{{ _("Community") }}{% endblock %} {% block heading %}{{ m.tile(community) }}{{ community.name }}{% endblock %} {% block actions %} {% if manager %} {{ icon("user-plus") }}{{ _("Invite members") }}
{{ icon("dots-vertical") }}

{{ _("Running the community") }}

{{ icon("settings") }}{{ _("Settings") }} {{ icon("users") }}{{ _("Members and roles") }}
{% endif %} {% endblock %} {% block body %} {#- The community's tools; its settings are in the header's menu. The current one wears the community's colour, its tile's: where one is, at a glance. -#} {% block content %}{% endblock %} {#- Inviting people, from any of the community's pages, for its managers; not on the pages of inviting itself (they set `invite_page`): the first has the same fields, and is where a spreadsheet goes. -#} {% if manager and invite_page is not defined %} {% import "community/_invite_fields.html" as invite with context %}
{{ csrf.field() }}
{{ invite.fields(community) }} {{ _("Or import a spreadsheet") }}
{% endif %} {% endblock %}