{% extends "org-base.html" %} {% block section %}

{{ _("Spaces") }}

{% if manage %}{{ icon('plus') }}{{ _("New space") }}{% endif %}
{% if org_spaces %}
{% for space in org_spaces %}
{{ icon('folder', 18) }}

{{ space.name }}

{% if space.description %}

{{ space.description }}

{% else %}

{{ _("No description") }}

{% endif %}
{{ space.slug }}{% if space.sync_status in ('error', 'conflict') %}{{ _("Error", context="status") if space.sync_status == 'error' else _("In conflict") }}{% elif not space.repo_url %}{{ _("No Git repository") }}{% endif %}
{% endfor %}
{% elif manage %}

{{ _("No space yet") }}

{{ _("A space is a Git repository whose content/ folder becomes a wiki. Create the first one.") }}

{{ icon('plus') }}{{ _("New space") }}

{% else %}

{{ _("No accessible spaces in this organization.") }}

{% endif %} {% endblock %}