{{ 'GANTRY5_PLATFORM_OUTLINES'|trans }}
{% if gantry.authorize('outline.create') %}
{# TODO: Adding a new outline should be a two step process: 1. you pick title and Layout, 2. creates it. #}
{##}
{% endif %}
{% set name = 'default' %}
{% include '@gantry-admin/layouts/outline.html.twig' %}
{# TODO: Need to inject the Base Outline at the top of the list #}
{% for name, title in gantry.configurations.user %}
{% include '@gantry-admin/layouts/outline.html.twig' %}
{% endfor %}
{% if gantry.authorize('outline.create') %}
{##}
{% endif %}
{{ 'GANTRY5_PLATFORM_SYSTEM_OUTLINES'|trans }}
{% for name, title in gantry.configurations.system %}
{% set preset = gantry.configurations.layoutPreset(name) %}
{{ title }} ({{ 'GANTRY5_PLATFORM_ID_X'|trans(name) }})
{#23 positions#}
{% if gantry.authorize('outline.create') %}
{% endif %}