From b313d7c98f6d753caa18cc572ec355f16c4367b1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 26 Sep 2018 17:54:28 +0000 Subject: [PATCH] Bug 21418: Incorrectly filtered markup in staff client lists This patch removes the "|html" filter from some variable declarations in the template used to display the list of lists in the staff client. To test you should have at least one list. Apply the patch and go to Lists. In the table of lists, the "Edit" and "Delete" buttons should look correct and work correctly. Signed-off-by: Jonathan Druart Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- .../virtualshelves/tables/shelves_results.tt | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt index 3cb77eda49..fde5544390 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt @@ -35,24 +35,24 @@ [%~ SET action_block = '' ~%] [%~ IF can_manage_shelf OR can_delete_shelf ~%] [%~ IF can_manage_shelf ~%] - [%~ action_block = '
' | html ~%] - [%~ action_block = action_block _ '' | html ~%] - [%~ action_block = action_block _ '' | html ~%] - [%~ action_block = action_block _ '' | html ~%] - [%~ action_block = action_block _ '' | html ~%] + [%~ action_block = '' ~%] + [%~ action_block = action_block _ '' ~%] + [%~ action_block = action_block _ '' ~%] + [%~ action_block = action_block _ '' ~%] + [%~ action_block = action_block _ '' ~%] [%~ action_block = action_block _ '' ~%] - [%~ action_block = action_block _ '
' | html ~%] + [%~ action_block = action_block _ ' ' ~%] [%~ END ~%] [%~ IF can_manage_shelf OR can_delete_shelf ~%] - [%~ action_block = action_block _ '
' | html ~%] - [%~ action_block = action_block _ '' | html ~%] - [%~ action_block = action_block _ '' | html ~%] - [%~ action_block = action_block _ '' | html ~%] - [%~ action_block = action_block _ '' | html ~%] - [%~ action_block = action_block _ '' | html ~%] - [%~ action_block = action_block _ '' | html ~%] + [%~ action_block = action_block _ ' ' ~%] + [%~ action_block = action_block _ '' ~%] + [%~ action_block = action_block _ '' ~%] + [%~ action_block = action_block _ '' ~%] + [%~ action_block = action_block _ '' ~%] + [%~ action_block = action_block _ '' ~%] + [%~ action_block = action_block _ '' ~%] [%~ action_block = action_block _ '' ~%] - [%~ action_block = action_block _ '
' | html ~%] + [%~ action_block = action_block _ '' ~%] [%~ END ~%] [%~ ELSE ~%] [%~ SET action_block = 'None' ~%] -- 2.39.5