From b34d1c6c3c87aab6d59963b145ee455ed8d38d00 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 18 Oct 2022 15:01:02 +0100 Subject: [PATCH] Bug 31095: (QA follow-up) Fix after rebase Signed-off-by: Nick Clemens --- .../prog/en/modules/admin/restrictions.tt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 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 b179a158fa..0a2855af88 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt @@ -1,10 +1,11 @@ [% USE raw %] [% USE Asset %] [% USE Koha %] +[% PROCESS 'restriction-types.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -[% IF op == 'add_form' %][% IF ( restriction ) %]Modify restriction '[% PROCESS restriction_type_description %]'[% ELSE %]New restriction[% END %][% END %] -[% IF op == 'delete_confirm' %]Confirm deletion of restriction '[% PROCESS restriction_type_description %]'[% END %] › Patron restrictions › Administration › Koha +<title>[% IF op == 'add_form' %][% IF ( restriction ) %]Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'[% ELSE %]New restriction[% END %][% END %] +[% IF op == 'delete_confirm' %]Confirm deletion of restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'[% END %] › Patron restrictions › Administration › Koha [% INCLUDE 'doc-head-close.inc' %] @@ -37,7 +38,7 @@ [% IF restriction %]
  • - Modify restriction '[% PROCESS restriction_type_description %]' + Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'
  • [% ELSE %] @@ -68,7 +69,7 @@
    [% FOR m IN messages %] -
    +
    [% SWITCH m.code %] [% CASE 'add_success' %] Type added @@ -95,7 +96,7 @@ [% IF restriction %] -

    Modify restriction [% PROCESS restriction_type_description %]

    +

    Modify restriction [% PROCESS restriction_type_description restriction_type=restriction %]

    [% ELSE %]

    New restriction

    @@ -141,7 +142,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 restriction_type=restriction %]"?

    @@ -181,7 +182,7 @@ [% restriction.code | html %] - [% PROCESS restriction_type_description %] + [% PROCESS restriction_type_description restriction_type=restriction %] [% IF restriction.is_default %]Yes[% END %] -- 2.20.1