@@ -, +, @@ Patron restriction types * Section name * Section caption * Title of the page (in the browser tab) * Breadcrumb * Left hand side menu * 'New' button * Page heading * Title of the page (in the browser tab) * Breadcrumb * Page heading * Dialog message ('Restriction type added') * Warning ('Restriction type code is already in use') * Title of the page (in the browser tab) * Breadcrumb * Page heading * Warning ('Restriction type label is already in use') * Dialog message ('Restriction type updated') * Title of the page (in the browser tab) * Breadcrumb * Page heading * Delete button * Dialog message ('Restriction type deleted') --- .../prog/en/includes/admin-menu.inc | 2 +- .../prog/en/modules/admin/admin-home.tt | 4 +- .../prog/en/modules/admin/restrictions.tt | 48 +++++++++---------- 3 files changed, 27 insertions(+), 27 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc @@ -55,7 +55,7 @@
  • Curbside pickup
  • [% END %] [% IF ( CAN_user_parameters_manage_patron_restrictions ) %] -
  • Patron restrictions
  • +
  • Patron restriction types
  • [% END %] [% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt @@ -122,8 +122,8 @@
    Configure curbside pickup for libraries
    [% END %] [% IF ( CAN_user_parameters_manage_patron_restrictions ) %] -
    Patron restrictions
    -
    Define patron restrictions.
    +
    Patron restriction types
    +
    Define manual patron restriction types.
    [% END %] [% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt @@ -4,8 +4,8 @@ [% PROCESS 'restriction-types.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -[% 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 +<title>[% IF op == 'add_form' %][% IF ( restriction ) %]Modify restriction type '[% PROCESS restriction_type_description restriction_type=restriction %]' › [% ELSE %]New restriction type › [% END %][% END %] +[% IF op == 'delete_confirm' %]Confirm deletion of restriction type '[% PROCESS restriction_type_description restriction_type=restriction %]' › [% END %]Patron restriction types › Administration › Koha [% INCLUDE 'doc-head-close.inc' %] @@ -28,25 +28,25 @@ [% IF op == 'list' %]
  • - Patron restrictions + Patron restriction types
  • [% END %] [% IF op == 'add_form' %]
  • - Patron restrictions + Patron restriction types
  • [% IF restriction %]
  • - Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]' + Modify restriction type '[% PROCESS restriction_type_description restriction_type=restriction %]'
  • [% ELSE %]
  • - New restriction + New restriction type
  • [% END %] @@ -54,11 +54,11 @@ [% IF op == 'delete_confirm' %]
  • - Patron restrictions + Patron restriction types
  • - Delete restriction? + Delete restriction type?
  • [% END %] @@ -76,19 +76,19 @@
    [% SWITCH m.code %] [% CASE 'add_success' %] - Type added + Restriction type added [% CASE 'update_success' %] - Type updated + Restriction type updated [% CASE 'duplicate_display_text' %] - Another restriction already has this label + Another restriction type already has this label [% CASE 'duplicate_code' %] - Another restriction already has this code + Another restriction type already has this code [% CASE 'delete_success' %] - Type deleted + Restriction type deleted [% CASE 'delete_default' %] - Cannot delete the default type + Cannot delete the default restriction type [% CASE 'delete_system' %] - Cannot delete a system type + Cannot delete a system restriction type [% CASE %] [% m.code | html %] [% END %] @@ -100,10 +100,10 @@ [% IF restriction %] -

    Modify restriction [% PROCESS restriction_type_description restriction_type=restriction %]

    +

    Modify restriction type [% PROCESS restriction_type_description restriction_type=restriction %]

    [% ELSE %] -

    New restriction

    +

    New restriction type

    [% END %]
      @@ -143,7 +143,7 @@
      - Confirm restriction deletion + Confirm restriction type deletion

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

      @@ -151,7 +151,7 @@
      - + Cancel
      @@ -161,10 +161,10 @@ [% IF op == 'list' %] -

      Patron restrictions

      +

      Patron restriction types

      [% IF restrictions %]
      @@ -204,7 +204,7 @@
      [% ELSE %] -
      No restrictions have been defined. Create a new restriction.
      +
      No restriction types have been defined. Create a new restriction type.
      [% END %] [% END %] @@ -223,8 +223,8 @@ [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %]