{% extends "_layouts/cp" %} {% set title = "Sites"|t('app') %} {% set multiple = (sites|length > 1) %} {% set canSort = group and multiple %} {% block actionButton %} {% set newSiteUrl = url('settings/sites/new', (group ? { groupId: group.id } : null)) %} {{ "New site"|t('app') }} {% endblock %} {% block sidebar %}
{% endblock %} {% block content %}{{ "Name"|t('app') }} | {{ "Handle"|t('app') }} | {{ "Language"|t('app') }} | {{ "Primary"|t('app') }} | {{ "Base URL"|t('app') }} | {% if not group %}{{ "Group"|t('app') }} | {% endif %} {% if canSort %}{% endif %} {% if multiple %} | {% endif %} {% for site in sites %} |
---|---|---|---|---|---|---|---|
{{ site.name|t('site') }} | {{ site.handle }} |
{{ site.language }} |
{% if site.primary %}{% endif %} | {{ site.baseUrl }} |
{% if not group %}
{{ site.group.name|t('site') }} | {% endif %} {% if canSort %}{% endif %} {% if multiple %} | {% endif %} |