From 8b0adda292f7b27bcd001e0d82d0ab55576fe83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Adamczyk?= Date: Thu, 14 Dec 2017 13:29:39 +0100 Subject: [PATCH] EZP-28525: New icons for assign user and assign section buttons --- src/bundle/Resources/public/img/ez-icons.svg | 6 ++++++ .../public/img/icons/assign-section.svg | 4 ++++ .../Resources/public/img/icons/assign-user.svg | 4 ++++ .../Resources/views/admin/role/list.html.twig | 2 +- .../views/admin/role_assignment/list.html.twig | 8 +++++--- .../admin/section/assigned_content.html.twig | 5 +++-- .../views/admin/section/list.html.twig | 2 +- .../views/admin/section/view.html.twig | 2 -- .../parts/form/assign_section_widget.html.twig | 17 +++++++++++++++++ 9 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 src/bundle/Resources/public/img/icons/assign-section.svg create mode 100644 src/bundle/Resources/public/img/icons/assign-user.svg create mode 100644 src/bundle/Resources/views/parts/form/assign_section_widget.html.twig diff --git a/src/bundle/Resources/public/img/ez-icons.svg b/src/bundle/Resources/public/img/ez-icons.svg index 9de2e4b646..c99cc1672e 100644 --- a/src/bundle/Resources/public/img/ez-icons.svg +++ b/src/bundle/Resources/public/img/ez-icons.svg @@ -20,6 +20,12 @@ + + + + + + diff --git a/src/bundle/Resources/public/img/icons/assign-section.svg b/src/bundle/Resources/public/img/icons/assign-section.svg new file mode 100644 index 0000000000..2fabbdb0bf --- /dev/null +++ b/src/bundle/Resources/public/img/icons/assign-section.svg @@ -0,0 +1,4 @@ + +assign-section + + \ No newline at end of file diff --git a/src/bundle/Resources/public/img/icons/assign-user.svg b/src/bundle/Resources/public/img/icons/assign-user.svg new file mode 100644 index 0000000000..3497673977 --- /dev/null +++ b/src/bundle/Resources/public/img/icons/assign-user.svg @@ -0,0 +1,4 @@ + +assign-user + + \ No newline at end of file diff --git a/src/bundle/Resources/views/admin/role/list.html.twig b/src/bundle/Resources/views/admin/role/list.html.twig index 44933d168f..4b2f33aaae 100644 --- a/src/bundle/Resources/views/admin/role/list.html.twig +++ b/src/bundle/Resources/views/admin/role/list.html.twig @@ -67,7 +67,7 @@ - +
{{ 'role_assignment.view.list.header'|trans|desc('Users and Groups') }}
- + - + - {{ 'role_assignment.view.list.action.add'|trans|desc('Assign users/groups') }} +