{% extends "_layouts/cp" %} {% set title = "Sections"|t('app') %} {% set crumbs = [ { label: "Settings"|t('app'), url: url('settings') } ] %} {% block actionButton %} {{ "New section"|t('app') }} {% endblock %} {% block content %}
{{ "No sections exist yet."|t('app') }}
{{ "Name"|t('app') }} | {{ "Handle"|t('app') }} | {{ "Type"|t('app') }} | {{ "Entry Types"|t('app')}} | {% for section in sections %} |
---|---|---|---|---|
{{ section.name|t('site') }} | {{ section.handle }} |
{{ section.type|title|t('app') }} | {% if section.type == 'single' and section.getEntryTypes()|length == 1 %} {% set entryType = section.getEntryTypes()[0] %} {{ "Edit entry type"|t('app') }} {% else %} {{ "Edit entry types ({count})"|t('app', { count: section.getEntryTypes()|length }) }} {% endif %} |