{#- The communities: mine, or all of them for a site administrator, by name or by activity, filtered by name (as the bar's menu does too); each with its image or initial, what it is for, its members and documents, when it last moved. A site administrator makes a new one from here. -#} {% extends "ads_base.html" %} {% set admin = is_site_admin() %} {% block page_title %}{{ _("Communities") if admin else _("My communities") }}{% endblock %} {% block heading %}{{ _("Communities") if admin else _("My communities") }}{% endblock %} {% block actions %}{{ icon("world") }}{{ _("Discover the other communities") }}{% if admin %}{{ icon("plus") }}{{ _("New community") }}{% endif %}{% endblock %} {% block body %}
{{ ngettext("%(num)d community", "%(num)d communities", my_communities | length) }}
{{ icon("filter") }}
{% if my_communities %} {% elif search %}

{{ _("No community has ā€œ%(search)sā€ in its name.", search=search) }}

{% else %}

{{ _("You're not a member of a community yet.") }}

{% endif %}
{% endblock %}