From dcf9b143721f7b0479d6468741ce065365eced55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Ostafin?= Date: Thu, 24 Sep 2020 08:35:23 +0200 Subject: [PATCH] EZP-31946: Added missing 'Admin' to breadcrumbs and set correct margin for URL Management (#1533) --- .../Resources/views/themes/admin/link_manager/view.html.twig | 3 ++- .../themes/admin/url_management/url_management.html.twig | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bundle/Resources/views/themes/admin/link_manager/view.html.twig b/src/bundle/Resources/views/themes/admin/link_manager/view.html.twig index 308401a3ce..8824013334 100644 --- a/src/bundle/Resources/views/themes/admin/link_manager/view.html.twig +++ b/src/bundle/Resources/views/themes/admin/link_manager/view.html.twig @@ -4,6 +4,7 @@ {%- block breadcrumbs -%} {% include '@ezdesign/ui/breadcrumbs.html.twig' with { items: [ + { value: 'breadcrumb.admin'|trans(domain='messages')|desc('Admin') }, { value: 'url.breadcrumb.list'|trans|desc('URL management'), url: path('ezplatform.url_management') }, { value: 'url.breadcrumb.detail'|trans|desc('Link details') } ]} %} @@ -23,7 +24,7 @@ {% block body_class %}ez-link-manager-view{% endblock %} {%- block content -%} -
+
diff --git a/src/bundle/Resources/views/themes/admin/url_management/url_management.html.twig b/src/bundle/Resources/views/themes/admin/url_management/url_management.html.twig index 22e0c7a906..81db56a763 100644 --- a/src/bundle/Resources/views/themes/admin/url_management/url_management.html.twig +++ b/src/bundle/Resources/views/themes/admin/url_management/url_management.html.twig @@ -23,9 +23,9 @@ {% endblock %} {% block content %} -
+
{{ ez_render_component_group('link-manager-block') }} -
+ {% endblock %} {% block javascripts %}