From 287adf6ee57e41024602d3b169127529ac39a6c3 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 20 Apr 2023 20:55:50 +0000 Subject: [PATCH] Bug 33551: (follow-up) Remove spans by using TT filter This allows up to keep the restriction name in the title by removing the span tags with a TT filter. Copied from bug 32061. Signed-off-by: Katrin Fischer Signed-off-by: Caroline Cyr La Rose --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt index 1594691e61..be10530c9c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt @@ -7,13 +7,13 @@ [% IF op == 'add_form' %] [% IF ( restriction ) %] - Modify restriction + Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction | remove("</*span>") %]' [% ELSE %] New restriction [% END %] › [% END %] [% IF op == 'delete_confirm' %] - Confirm deletion of restriction › + Confirm deletion of restriction '[% PROCESS restriction_type_description restriction_type=restriction | remove("</*span>") %]'") › [% END %] Patron restrictions › Administration › Koha -- 2.34.1