From 481265a9f2bf047c9c7e5265b31ad8a8bd6170ec 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. --- .../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 3cb77ed..fde5544 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.1.4