Bug 20999: Remove invalid 'style="block"' from OPAC templates
This patch removes an invalid attribute from OPAC template markup. There should be no visible change to the OPAC. To test, apply the patch and confirm that the following pages still look correct when using various cover image sources: Coce, Amazon, Google: - Bibliographic detail page (opac-detail.pl) - The shelf browser - Catalog search results - Recent comments Signed-off-by: Charles Farmer <charles.farmer@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
6900e76613
commit
d7ae1d65a4
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
[% IF ( GoogleJackets ) %]
|
||||
[% IF ( item.browser_normalized_isbn ) %]
|
||||
<div style="block" title="[% item.biblionumber |url %]" class="[% item.browser_normalized_isbn %]" id="gbs-thumbnail-preview[% loop.count %]"></div>
|
||||
<div title="[% item.biblionumber |url %]" class="[% item.browser_normalized_isbn %]" id="gbs-thumbnail-preview[% loop.count %]"></div>
|
||||
[% ELSE %]
|
||||
<span class="no-image">No cover image available</span>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
[% END %]
|
||||
[% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
|
||||
[% coce_id = normalized_ean || normalized_isbn %]
|
||||
<div style="block" title="[% biblio.biblionumber %]" class="[% coce_id %]" id="coce-thumbnail-preview"></div>
|
||||
<div title="[% biblio.biblionumber %]" class="[% coce_id %]" id="coce-thumbnail-preview"></div>
|
||||
[% END %]
|
||||
[% IF OpenLibraryCovers %]
|
||||
<div title="[% biblio.biblionumber %]" class="[% normalized_isbn %]" id="openlibrary-thumbnail-preview"></div>
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@
|
|||
|
||||
[% IF ( GoogleJackets ) %]
|
||||
[% IF ( SEARCH_RESULT.normalized_isbn ) %]
|
||||
<span style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></span>
|
||||
<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></span>
|
||||
[% ELSE %]
|
||||
<span class="no-image">No cover image available</span>
|
||||
[% END %]
|
||||
|
|
@ -259,7 +259,7 @@
|
|||
[% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
|
||||
[% coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn %]
|
||||
[% IF ( coce_id ) %]
|
||||
<span style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail[% loop.count %]"></span>
|
||||
<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail[% loop.count %]"></span>
|
||||
[% ELSE %]
|
||||
<span class="no-image">No cover image available</span>
|
||||
[% END %]
|
||||
|
|
@ -267,7 +267,7 @@
|
|||
|
||||
[% IF OpenLibraryCovers %]
|
||||
[% IF SEARCH_RESULT.normalized_isbn %]
|
||||
<span style="block" title="[% SEARCH_RESULT.biblionumber %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></span>
|
||||
<span title="[% SEARCH_RESULT.biblionumber %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></span>
|
||||
[% ELSE %]
|
||||
<span class="no-image">No cover image available</span>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@
|
|||
|
||||
[% IF ( GoogleJackets ) %]
|
||||
[% IF ( review.normalized_isbn ) %]
|
||||
<div style="block" title="[% review.biblionumber |url %]" class="[% review.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
|
||||
<div title="[% review.biblionumber |url %]" class="[% review.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
|
||||
[% ELSE %]
|
||||
<span class="no-image">No cover image available</span>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue