Bug 31425: Minor correction to patron categories admin title
This patch corrects the patron categories administration template so
that an extra angle bracket isn't included in the page title on the main
view.
To test, apply the patch and go to Administration -> Patron categories.
The page title should read:
Patron categories › Administration › Koha
...with no extra "›" at the beginning.
Check that other views (new, edit, delete) are unaffected.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 9c11c588c1
)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
6b2566ece3
commit
830e854688
1 changed files with 19 additions and 3 deletions
|
@ -7,9 +7,25 @@
|
|||
[% USE TablesSettings %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>[% IF op == 'add_form' %][% IF ( categorycode ) %]Modify category '[% categorycode | html %]'[% ELSE %]New category[% END %][% END %]
|
||||
[% IF op == 'delete_confirm' %][% IF ( patrons_in_category > 0 ) %]Cannot delete: category [% categorycode | html %] in use[% ELSE %]Confirm deletion of category '[% categorycode | html %]'[% END %][% END %] › Patron categories › Administration › Koha
|
||||
</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF op == 'add_form' %]
|
||||
[% IF ( categorycode ) %]
|
||||
Modify category '[% categorycode | html %]'
|
||||
[% ELSE %]
|
||||
New category
|
||||
[% END %]
|
||||
›
|
||||
[% END %]
|
||||
[% IF op == 'delete_confirm' %]
|
||||
[% IF ( patrons_in_category > 0 ) %]
|
||||
Cannot delete: category [% categorycode | html %] in use
|
||||
[% ELSE %]
|
||||
Confirm deletion of category '[% categorycode | html %]'
|
||||
[% END %]
|
||||
›
|
||||
[% END %]
|
||||
Patron categories › Administration › Koha
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<style>#enrolmentmessage.hint { display : none; }</style>
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue