From f6305873daf4dc93d80d22d13cf4b6bf1f41ea7a 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 --- 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 ad4d2fe082..505ccb115c 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.30.2