Bugzilla – Attachment 154640 Details for
Bug 34384
Inconsistencies in Library transfer limits page titles, breadcrumbs, and header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34384: Fix inconsistencies in Library transfer limits page titles, breadcrumbs, and heading
Bug-34384-Fix-inconsistencies-in-Library-transfer-.patch (text/plain), 4.12 KB, created by
Owen Leonard
on 2023-08-18 11:25:17 UTC
(
hide
)
Description:
Bug 34384: Fix inconsistencies in Library transfer limits page titles, breadcrumbs, and heading
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-08-18 11:25:17 UTC
Size:
4.12 KB
patch
obsolete
>From 35d8fa13f3834a1f0c524a508921e354570f5f74 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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" >--- > .../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 198580ae25b..fb5b811c8e1 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' %] > <title>[% 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 %]</title> >@@ -24,7 +24,7 @@ > <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> > [% END %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Set library checkin and transfer policy</span> >+ [% 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 @@ > <div class="col-sm-10 col-sm-push-2"> > <main> > >-<h1>Library [% branchcode | html %] - [% Branches.GetName( branchcode ) | html %] Checkin and transfer policy</h1> >+ <h1> >+ [% tx("Library transfer limits for {library_name} ({library_code})", { library_name = Branches.GetName( branchcode), library_code = branchcode } ) | html %] >+ </h1> > <form method="get" action="/cgi-bin/koha/admin/branch_transfer_limits.pl" id="selectlibrary"> > <label for="branchselect">Select a library :</label> > <select name="branchcode" id="branchselect"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transfer_limits.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transfer_limits.tt >index 58958bc2d3a..b400bb7a934 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transfer_limits.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transfer_limits.tt >@@ -9,7 +9,7 @@ > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title>[% FILTER collapse %] >- [% t("Library checkin and transfer policy") | html %] › >+ [% t("Library transfer limits") | html %] › > [% t("Administration") | html %] › > [% t("Koha") | html %] > [% END %]</title> >@@ -31,7 +31,7 @@ > <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> > [% END %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Set library checkin and transfer policy</span> >+ <span>Library transfer limits</span> > [% END %] > [% END #/ WRAPPER breadcrumbs %] > [% END #/ WRAPPER sub-header.inc %] >@@ -40,7 +40,7 @@ > <div class="row"> > <div class="col-sm-10 col-sm-push-2"> > <main> >- <h1>Checkin and transfer policy</h1> >+ <h1>Library transfer limits</h1> > > <p> > [% IF BranchTransferLimitsType == "itemtype" %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34384
:
154640
|
154659
|
154763