Bugzilla – Attachment 117912 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), 3.98 KB, created by
Wainui Witika-Park
on 2021-03-08 09:11:46 UTC
(
hide
)
Description:
Bug 26703: changed page titles - unique info first
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-03-08 09:11:46 UTC
Size:
3.98 KB
patch
obsolete
>From 3ab3b44170d8e3c305598d635422f21ad8cc825f Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Tue, 2 Mar 2021 00:39:53 +0000 >Subject: [PATCH] Bug 26703: changed page titles - unique info first > >This patch includes files in the virtualshelves 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 virtualshelves 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 >--- > .../prog/en/modules/virtualshelves/addbybiblionumber.tt | 2 +- > .../prog/en/modules/virtualshelves/downloadshelf.tt | 2 +- > .../prog/en/modules/virtualshelves/sendshelfform.tt | 3 ++- > .../intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 12 +++++++++++- > 4 files changed, 15 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >index e43c50ed1f..bc016596a9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >@@ -1,5 +1,5 @@ > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Add to list</title> >+<title>Add to list › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt >index 577eafeef7..338fcb1116 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt >@@ -1,5 +1,5 @@ > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Download shelf</title> >+<title>Download shelf › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="lists_downloadshelf" class="lists" style="padding:1em;"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt >index ec399270bf..c8ebd595f0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt >@@ -1,4 +1,5 @@ >-[% INCLUDE 'doc-head-open.inc' %]<title>Koha › Lists › Sending your list</title> >+[% INCLUDE 'doc-head-open.inc' %] >+<title>Sending your list › Lists › Koha</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="lists_sendshelfform" class="lists" style="padding: 1em;"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index 076206554b..7e33059ab2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -6,7 +6,17 @@ > [% SET PUBLIC = 2 %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › [% IF op == 'view' %]Lists › Contents of [% shelf.shelfname | html %][% ELSE %]Lists[% END %][% IF op == 'add_form' %] › Create new list[% END %][% IF op == 'edit_form' %] › Edit list [% shelf.shelfname | html %][% END %]</title> >+<title> >+ [% IF op == 'view' %] >+ Contents of [% shelf.shelfname | html %] › [% END %] >+ >+ [% IF op == 'add_form' %] >+ Create new list › [% END %] >+ >+ [% IF op == 'edit_form' %] >+ Edit list [% shelf.shelfname | html %] › [% END %] >+ Lists › Koha >+</title> > [% INCLUDE 'doc-head-close.inc' %] > <style>textarea { width: 100%; }</style> > >-- >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