From 20713de9b219a3393a197cb5c0e289aa35e8857a Mon Sep 17 00:00:00 2001 From: Bartek Wajda Date: Mon, 18 Nov 2024 15:55:59 +0100 Subject: [PATCH] IBX-9169: Applied review remarks --- .../translations/ibexa_trash.en.xliff | 14 ++++++-- .../views/themes/admin/trash/list.html.twig | 36 +++++++++++-------- 2 files changed, 34 insertions(+), 16 deletions(-) diff --git a/src/bundle/Resources/translations/ibexa_trash.en.xliff b/src/bundle/Resources/translations/ibexa_trash.en.xliff index 3282b637e8..ef88512f61 100644 --- a/src/bundle/Resources/translations/ibexa_trash.en.xliff +++ b/src/bundle/Resources/translations/ibexa_trash.en.xliff @@ -6,9 +6,14 @@ The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. + + Creator + Creator + key: search.creator_input.label + - Search by creator - Search by creator + Type creator's name + Type creator's name key: search.creator_input.placeholder @@ -26,6 +31,11 @@ Restore in a new location key: trash.button.restore_new_location + + Sorry, there are no contents for your search. + Sorry, there are no contents for your search. + key: trash.content_not_found + Content type Content type diff --git a/src/bundle/Resources/views/themes/admin/trash/list.html.twig b/src/bundle/Resources/views/themes/admin/trash/list.html.twig index c31370fcec..e9f847a467 100644 --- a/src/bundle/Resources/views/themes/admin/trash/list.html.twig +++ b/src/bundle/Resources/views/themes/admin/trash/list.html.twig @@ -24,23 +24,24 @@ {% endblock %} {% block content %} - {% set trash_search_params = app.request.get('trash_search') %} + {% set trash_search_params = app.request.get('trash_search') %} {% set creator = form_search.vars.data ? form_search.vars.data.creator : '' %} {% set creator_exists = creator is not empty %} {% set creatorSearch %}