{% if showStatusMenu or context == 'index' %}
{% endif %}
{% endif %}
{% if showSiteMenu %}
{% include "_elements/sitemenu" %}
{% endif %}
{{ "All"|t('app') }}
- {{ "All"|t('app') }} {% if showStatusMenu %} {% for status, info in elementInstance.statuses() %} {% set label = info.label ?? info %} {% set color = info.color ?? '' %}
- {{ label }} {% endfor %} {% endif %}
{% endif %}
-
{% set draftsExist = elementInstance.find().draftOf(false).anyStatus().exists() %}
{% if draftsExist %}
- {{ 'Drafts'|t('app') }} {% endif %}
- {{ "Trashed"|t('app') }}
{{ text({
placeholder: "Search"|t('app')
}) }}
{{ sortOptions ? sortOptionLabel(sortOptions|first) }}
-
{% for key, sortOption in sortOptions %}
- {{ sortOptionLabel(sortOption) }} {% endfor %}