From 060f52850125739bc9a8117527cd19a3a2c6c144 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 4 Jul 2022 12:20:37 +0100 Subject: [PATCH] Bug 23681: (QA follow-up) Remove spacing and add question mark This patch removes the superflous whitespace around the restriction descriptions and also adds the missing question mark into the delete question. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../prog/en/includes/patron_restrictions.inc | 16 ++++++++-------- .../prog/en/modules/admin/restrictions.tt | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_restrictions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_restrictions.inc index 3d0afd5fc1..7faa38b0aa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_restrictions.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_restrictions.inc @@ -1,10 +1,10 @@ [%- BLOCK restriction_type_description -%] - [% ddisplay = restriction.display_text %] - [% SWITCH ddisplay %] - [% CASE 'Manual' %]Manual - [% CASE 'Overdues' %]Overdues - [% CASE 'Suspension' %]Suspension - [% CASE 'Discharge' %]Discharge - [% CASE %][% ddisplay | html %] - [% END %] + [%- ddisplay = restriction.display_text -%] + [%- SWITCH ddisplay -%] + [%- CASE 'Manual' -%]Manual + [%- CASE 'Overdues' -%]Overdues + [%- CASE 'Suspension' -%]Suspension + [%- CASE 'Discharge' -%]Discharge + [%- CASE -%][% ddisplay | html %] + [%- END -%] [%- END -%] 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 a8dd141271..453e4fbcb2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt @@ -132,7 +132,7 @@ Confirm restriction deletion -

Are you sure you want to delete "[% PROCESS restriction_type_description %]"

+

Are you sure you want to delete "[% PROCESS restriction_type_description %]"?

-- 2.39.5