From f2d7149603087ea535a63bcce2b2560a85316560 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 18 Aug 2023 11:18:45 +0000 Subject: [PATCH] Bug 34384: Fix inconsistencies in Library transfer limits page titles, breadcrumbs, and heading This patch makes a few minor corrections to the library transfer limits pages, both basic and advanced, standardizing on the name "Library transfer limits" for page title, breadcrumb navigation, and page heading. To test, apply the patch and go to Administration -> Library transfer limits. - Confirm that the page shows "Library transfer limits for [library] [library code]" - Breadcrumb navigation, page title, and heading should match. - Swith to the advanced editor - The title should now be simply "Library transfer limits" Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/admin/branch_transfer_limits.tt | 8 +++++--- .../prog/en/modules/admin/transfer_limits.tt | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt index 198580ae25..fb5b811c8e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt @@ -5,7 +5,7 @@ [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% FILTER collapse %] - [% t("Library checkin and transfer policy") | html %] › + [% tx("Library transfer limits for {library_name} ({library_code})", { library_name = Branches.GetName( branchcode), library_code = branchcode } ) | html %] › [% t("Administration") | html %] › [% t("Koha") | html %] [% END %] @@ -24,7 +24,7 @@ Administration [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Set library checkin and transfer policy + [% tx("Library transfer limits for {library_name} ({library_code})", { library_name = Branches.GetName( branchcode), library_code = branchcode } ) | html %] [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] @@ -34,7 +34,9 @@
-

Library [% branchcode | html %] - [% Branches.GetName( branchcode ) | html %] Checkin and transfer policy

+

+ [% tx("Library transfer limits for {library_name} ({library_code})", { library_name = Branches.GetName( branchcode), library_code = branchcode } ) | html %] +