Bugzilla – Attachment 117900 Details for
Bug 26703
Modify the "title" elements to contain unique information first
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26703: changed page titles - unique info first
Bug-26703-changed-page-titles---unique-info-first.patch (text/plain), 10.47 KB, created by
Wainui Witika-Park
on 2021-03-08 04:08:17 UTC
(
hide
)
Description:
Bug 26703: changed page titles - unique info first
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-03-08 04:08:17 UTC
Size:
10.47 KB
patch
obsolete
>From 79d7ff8ee3b5d505f0874861b88f675dd7c3476d Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Mon, 1 Mar 2021 02:23:12 +0000 >Subject: [PATCH] Bug 26703: changed page titles - unique info first > >This patch includes files in the clubs folder, common folder and >course_reserves 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 clubs, common and course_reserves folders 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/clubs/club-enrollments.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt | 4 ++-- > koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt | 4 ++-- > koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt | 2 +- > .../intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt | 2 +- > .../intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt | 2 +- > .../intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt | 2 +- > .../intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt | 2 +- > .../intranet-tmpl/prog/en/modules/course_reserves/course-details.tt | 2 +- > .../intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt | 2 +- > .../intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt | 2 +- > 13 files changed, 15 insertions(+), 15 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt >index f6bc52e61d..4bd118f1aa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt >@@ -5,7 +5,7 @@ > [% USE Koha %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Patron clubs › Club enrollments</title> >+<title>Club enrollments › Patron clubs › Tools › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >index cdfd13830a..c078f1d9fd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >@@ -4,12 +4,12 @@ > [% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Patron clubs › >+<title> > [% IF club %] > Modify club [% club.name | html %] > [% ELSE %] > Create a new [% club_template.name | html %] club >- [% END %] >+ [% END %] › Patron clubs › Tools › Koha > </title> > [% INCLUDE 'doc-head-close.inc' %] > </head> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt >index f7db215b35..b47e45524e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt >@@ -5,7 +5,7 @@ > [% USE Koha %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Patron clubs</title> >+<title>Patron clubs › Tools › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > > </head> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt >index 13aa40c195..be309da083 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt >@@ -2,12 +2,12 @@ > [% USE AuthorisedValues %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Patron clubs › >+<title> > [% IF club_template %] > Modify club template [% club_template.name | html %] > [% ELSE %] > Create a new club template >- [% END %] >+ [% END %] › Patron clubs › Tools › Koha > </title> > [% INCLUDE 'doc-head-close.inc' %] > <style> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt >index ef285dd0ed..9022c9fa18 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt >@@ -4,7 +4,7 @@ > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Patron search</title> >+<title>Patron search › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > <style> .modal-body .close { display: none; } </style> > </head> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >index 428e293713..c9faa48b4b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >@@ -1,5 +1,5 @@ > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves › Add items</title> >+<title>Add items › Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="courses_add_items_step1" class="course"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >index 9c12bc05db..9cc5d1438e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >@@ -1,7 +1,7 @@ > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves ›[% IF is_edit || course_reserve %] Edit item[% ELSE %] Add items[% END %]</title> >+<title>[% IF is_edit || course_reserve %]Edit item[% ELSE %]Add items[% END %] › Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >index 1da830054d..0052a33f61 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >@@ -5,7 +5,7 @@ > [% SET footerjs = 1 %] > > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves › Add items</title> >+<title>Add items › Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="courses_add_items_step1" class="course"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt >index d39db41914..78c95f0e15 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt >@@ -2,7 +2,7 @@ > [% SET footerjs = 1 %] > > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves › Remove reserves</title> >+<title>Remove reserves › Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="courses_rm_items" class="course"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >index aed553c2fb..64514e95fb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >@@ -6,7 +6,7 @@ > [% USE TablesSettings %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves › Course details for [% course.course_name | html %]</title> >+<title>Course details for [% course.course_name | html %] › Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > > <style> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt >index fe3d7482ec..d825de4476 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt >@@ -4,7 +4,7 @@ > [% USE TablesSettings %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves</title> >+<title>Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > > </head> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >index 1f5886fefb..15aea75f03 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >@@ -1,6 +1,6 @@ > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves › [% IF course_name %] Edit [% course_name | html %] [% ELSE %] New course [% END %]</title> >+<title>[% IF course_name %] Edit [% course_name | html %] [% ELSE %] New course [% END %] › Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > <style> > #course_instructors { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt >index eb12031abf..e97e11fa92 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt >@@ -1,5 +1,5 @@ > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Course reserves</title> >+<title>Course reserves › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > <body id="courses_invalid_course" class="course"> > >-- >2.11.0
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 26703
:
117894
|
117895
|
117896
|
117897
|
117898
|
117899
|
117900
|
117901
|
117902
|
117903
|
117904
|
117905
|
117906
|
117907
|
117908
|
117909
|
117910
|
117911
|
117912
|
117997
|
117998
|
117999
|
118000
|
118001
|
118002
|
118003
|
118004
|
118005
|
118006
|
118007
|
118008
|
118009
|
118010
|
118011
|
118012
|
118013
|
118014
|
118015
|
118034
|
118035
|
118036
|
118037
|
118038
|
118039
|
118040
|
118041
|
118042
|
118043
|
118044
|
118045
|
118046
|
118047
|
118048
|
118049
|
118050
|
118051
|
118052
|
118053
|
119652
|
119653
|
119654
|
119655
|
119656
|
119657
|
119658
|
119659
|
119660
|
119661
|
119662
|
119663
|
119664
|
119665
|
119666
|
119667
|
119668
|
119669
|
119670
|
119671
|
119820
|
119824
|
119873
|
119874
|
119875
|
119876
|
119877
|
119878
|
119879
|
119880
|
119881
|
119882
|
119883
|
119884
|
119885
|
119886
|
119887
|
119888
|
119889
|
119890
|
119891
|
119892
|
119893
|
119894
|
119895
|
119897
|
119940
|
119982
|
119983