Bug 26703: 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
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Henry Bolshaw <bolshawh@parliament.uk>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Wainui Witika-Park 2021-03-02 00:39:53 +00:00 committed by Jonathan Druart
parent b6f036a7ac
commit 3e4aaf09f9
4 changed files with 15 additions and 4 deletions

View File

@ -1,5 +1,5 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Add to list</title>
<title>Add to list &rsaquo; Koha</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>

View File

@ -1,5 +1,5 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Download shelf</title>
<title>Download shelf &rsaquo; Koha</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="lists_downloadshelf" class="lists" style="padding:1em;">

View File

@ -1,4 +1,5 @@
[% INCLUDE 'doc-head-open.inc' %]<title>Koha &rsaquo; Lists &rsaquo; Sending your list</title>
[% INCLUDE 'doc-head-open.inc' %]
<title>Sending your list &rsaquo; Lists &rsaquo; Koha</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="lists_sendshelfform" class="lists" style="padding: 1em;">

View File

@ -6,7 +6,17 @@
[% SET PUBLIC = 2 %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; [% IF op == 'view' %]Lists &rsaquo; Contents of [% shelf.shelfname | html %][% ELSE %]Lists[% END %][% IF op == 'add_form' %] &rsaquo; Create new list[% END %][% IF op == 'edit_form' %] &rsaquo; Edit list [% shelf.shelfname | html %][% END %]</title>
<title>
[% IF op == 'view' %]
Contents of [% shelf.shelfname | html %] &rsaquo; [% END %]
[% IF op == 'add_form' %]
Create new list &rsaquo; [% END %]
[% IF op == 'edit_form' %]
Edit list [% shelf.shelfname | html %] &rsaquo; [% END %]
Lists &rsaquo; Koha
</title>
[% INCLUDE 'doc-head-close.inc' %]
<style>textarea { width: 100%; }</style>