From a9125298a268e693c7beb8fd45952f06605d07bf Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Mon, 1 Mar 2021 20:50:04 +0000 Subject: [PATCH] Bug 26703: changed page titles - unique info first This patch includes files in the labels folder Swapped the order of the page titles to have the unique information first, i.e. the name of the specific page displays first, and the name of the website (e.g. Koha) displays at the end. To test: 1) Apply patch 2) Ensure each of the files in the labels folder are swapped around to display the most unique information first, and the website name is at the end 3) Ensure the pages displayed on the Staff Client that correspond to these files also display the changes Sponsored-by: Catalyst IT --- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt | 3 ++- koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt | 2 +- 12 files changed, 13 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt index faa5e64c55..c1e0d0e1ce 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt @@ -3,7 +3,7 @@ [% USE ItemTypes %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › Batches › [% IF batch_id %]Edit ([% batch_id | html %])[% ELSE %]New[% END %] + [% IF batch_id %]Edit ([% batch_id | html %])[% ELSE %]New[% END %] › Batches › Label creator › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt index b7a42e8b46..7f32a5bdde 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt @@ -10,7 +10,7 @@ [% END %] [% END %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › Layouts › [% IF ( layout_id ) %]Edit ([% layout_id | html %])[% ELSE %]New[% END %] + [% IF ( layout_id ) %]Edit ([% layout_id | html %])[% ELSE %]New[% END %] › Layouts › Label creator › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt index 1fc6f594c3..1356337d8d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt @@ -1,7 +1,7 @@ [% USE raw %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › Profiles › [% IF ( profile_id ) %]Edit ([% profile_id | html %])[% ELSE %]New[% END%] + [% IF ( profile_id ) %]Edit ([% profile_id | html %])[% ELSE %]New[% END%] › Profiles › Label creator › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt index 5685f1b132..405cf77e0f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt @@ -1,6 +1,6 @@ [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › Barcode range + Barcode range › Label creator › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'greybox.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt index 071cb64d44..cdf389c783 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt @@ -1,7 +1,7 @@ [% USE raw %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › Templates › [% IF ( template_id ) %]Edit ([% template_id | html %])[% ELSE %]New[% END %] + [% IF ( template_id ) %]Edit ([% template_id | html %])[% ELSE %]New[% END %] › Templates › Label creator › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt index f4898fcb6d..1c920b94dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt @@ -2,7 +2,7 @@ [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator + Label creator › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt index 35c3afd6ae..099f9b5bec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt @@ -14,7 +14,7 @@ [%- END -%] [% END %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › [% PROCESS translate_label_element element=label_element_title %] + [% PROCESS translate_label_element element=label_element_title %] › Label creator › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt index 63b3836503..fcf706b87f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt @@ -1,7 +1,7 @@ [% USE raw %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › Label printing/exporting + Label printing/exporting › Label creator › Tools › Koha [% INCLUDE 'doc-head-close.inc' popup => 1 %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt index 8e5657a219..3e31ec279b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt @@ -23,7 +23,7 @@ [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Barcodes and labels › Search results + Search results › Barcodes and labels › Koha [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt index 039b63c864..a6f905d2ec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt @@ -1,5 +1,6 @@ [% SET footerjs = 1 %] -[% INCLUDE 'doc-head-open.inc' %]Koha › Labels +[% INCLUDE 'doc-head-open.inc' %] +Labels › Koha [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt index b323b4ccdc..05bd701b67 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt @@ -1,7 +1,7 @@ [% USE raw %] [% USE Asset %] [% SET footerjs = 1 %] -[% INCLUDE 'doc-head-open.inc' %]Koha › Tools › Quick spine label creator +[% INCLUDE 'doc-head-open.inc' %]Quick spine label creator › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt index 55fb795de0..d9505eac7d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt @@ -2,7 +2,7 @@ [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Tools › Spine labels +Spine labels › Tools › Koha [% INCLUDE 'doc-head-close.inc' popup => 1 %] [% Asset.css("css/spinelabel.css") | $raw %]