{% if routes is empty %}
{{ labels.empty }}
{% endif %} {% for route in routes %}
{% set title = (route.auth > 0) ? service('access').getAuthName(route.auth) : "" %}
{% if title != "" %}
{{ title }}
{% endif %} {{ component('components:labels.route-type',{ type: route.type }) }}
{{ component('components:status.icon',{ status: route.status }) }} {% if icon is defined %} {% endif %}
{% set methods = route.method|default('GET')|split(",") %} {% for method in methods %}
{{ method }}
{% endfor %} {{ base_url }}{{ route.path }}{{ route.pattern }} {% if route.page_name is not empty %}
{{ labels.page }} {{ route.page_name }}
{% endif %}
{% endfor %}