Bug 32738: Correct upload local cover image title tag
This patch corrects the local cover image template's title tag so that it conforms to the changes made in Bug 26703, 'Modify the "title" elements to contain unique information first.' The patch also makes minor corrections to the page's breadcrumbs. To test you must have the LocalCoverImages system preference enabled. - Apply the patch and go to Cataloging -> Upload local cover image. - The page title should be correct: Upload local cover image › Cataloging › Koha - The breadcrumbs should be: Home -> Cataloging -> Upload cover image - Locate a bibliographic record and view its details. - Click the "Images" tab, then the "Upload" button. - The page title should now be Upload local cover image for [title] › Cataloging › Koha - The breadcrumbs should now be: Home -> Cataloging -> Upload local cover image -> Upload cover for [title] 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>
This commit is contained in:
parent
2addd2879a
commit
890231e7e6
1 changed files with 16 additions and 7 deletions
|
@ -3,12 +3,13 @@
|
|||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
Koha ›
|
||||
Cataloging ›
|
||||
Upload local cover image
|
||||
[% IF ( biblio ) %]
|
||||
› [% INCLUDE 'biblio-title-head.inc' %]
|
||||
Upload local cover image for [% INCLUDE 'biblio-title-head.inc' %] ›
|
||||
[% ELSE %]
|
||||
Upload local cover image ›
|
||||
[% END %]
|
||||
Cataloging ›
|
||||
Koha
|
||||
</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% FILTER collapse %]
|
||||
|
@ -89,9 +90,11 @@
|
|||
<li>
|
||||
<a href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cataloging</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a>
|
||||
</li>
|
||||
[% IF uploadimage || biblio || itemnumber || biblionumber %]
|
||||
<li>
|
||||
<a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a>
|
||||
</li>
|
||||
[% END %]
|
||||
|
||||
[% IF ( uploadimage ) %]
|
||||
<li>
|
||||
|
@ -104,6 +107,12 @@
|
|||
<a href="#" aria-current="page"><em>[% INCLUDE 'biblio-title.inc' %]</em></a>
|
||||
</li>
|
||||
[% END %]
|
||||
[% ELSIF biblio %]
|
||||
<li>
|
||||
<a href="#" aria-current="page">
|
||||
Upload cover for <em>[% INCLUDE 'biblio-title.inc' %]</em>
|
||||
</a>
|
||||
</li>
|
||||
[% ELSIF itemnumber %]
|
||||
<li>
|
||||
<a href="#" aria-current="page">
|
||||
|
|
Loading…
Reference in a new issue