Bug 22445: Custom cover images - detail (staff)
Test plan: Staff side now, go the detail page of a bibliographic record You should see the cover image. Sponsored-by: Orex Digital Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz> Signed-off-by: Hugo Agud <hagud@orex.es> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Michal Denar <black23@gmail.com> Signed-off-by: Kyle Hall <kyle@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
56bccf6ad5
commit
d8104c21b6
|
|
@ -533,6 +533,8 @@ foreach my $myorder (@allorders_using_biblio) {
|
|||
}
|
||||
}
|
||||
|
||||
$template->param(biblio => $biblio);
|
||||
|
||||
my $count_orders_using_biblio = scalar @orders_using_biblio ;
|
||||
$template->param (countorders => $count_orders_using_biblio);
|
||||
|
||||
|
|
|
|||
|
|
@ -73,8 +73,12 @@
|
|||
<span class="Z3988" title="[% ocoins | html %]"></span>
|
||||
[% END %]
|
||||
|
||||
[% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce ) %]
|
||||
<div id="catalogue_detail_biblio" class="col-xs-9">
|
||||
[% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
|
||||
[% IF ( XSLTDetailsDisplay ) %]
|
||||
<div id="catalogue_detail_biblio" class="col-xs-9">
|
||||
[% ELSE %]
|
||||
<div id="catalogue_detail_biblio" class="col-xs-9">
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
<div id="catalogue_detail_biblio" class="col-xs-12">
|
||||
[% END %]
|
||||
|
|
@ -125,7 +129,7 @@
|
|||
</span>
|
||||
[% END %]
|
||||
|
||||
[% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce ) %]
|
||||
[% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
|
||||
</div><div class="col-xs-3" id="bookcoverimg">
|
||||
[% IF ( LocalCoverImages ) %]
|
||||
<div title="[% biblionumber |url %]" class="[% biblionumber | html %]" id="local-thumbnail-preview"></div>
|
||||
|
|
@ -149,6 +153,10 @@
|
|||
[% END %]
|
||||
</a>
|
||||
[% END %]
|
||||
|
||||
[% IF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %]
|
||||
<a href="[% biblio.custom_cover_image_url | url %]"><img alt="Cover image" src="[% biblio.custom_cover_image_url | url %]" />
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue