{% embed '@ui/common/navbars/default.html.twig' with {
title: 'Types'
} %}
{% block items %}
{% include '@ui/common/navbars/items/default.html.twig' with {
text: 'Logins',
link: path(((tenant is not empty) ? routes.logins_tenant : routes.logins), {
tenant: ((tenant is not empty) ? tenant.id : null)
}),
active: (app.request.attributes.get('_route') in [routes.logins, routes.logins_tenant])
} %}
{% include '@ui/common/navbars/items/default.html.twig' with {
text: 'Modules',
link: path(((tenant is not empty) ? routes.modules_tenant : routes.modules), {
tenant: ((tenant is not empty) ? tenant.id : null)
}),
active: (app.request.attributes.get('_route') in [routes.modules, routes.modules_tenant])
} %}
{% include '@ui/common/navbars/items/default.html.twig' with {
text: 'Unique Modules',
link: path(((tenant is not empty) ? routes.modules_unique_tenant : routes.modules_unique), {
tenant: ((tenant is not empty) ? tenant.id : null)
}),
active: (app.request.attributes.get('_route') in [routes.modules_unique, routes.modules_unique_tenant])
} %}
{% include '@ui/common/navbars/items/default.html.twig' with {
text: 'Widgets',
link: path(((tenant is not empty) ? routes.widgets_tenant : routes.widgets), {
tenant: ((tenant is not empty) ? tenant.id : null)
}),
active: (app.request.attributes.get('_route') in [routes.widgets, routes.widgets_tenant])
} %}
{% endblock %}
{% endembed %}