Bugzilla – Attachment 16700 Details for
Bug 9549
Local Cover are not displayed in the Shelf Browser.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed off] Bug 9549 Fix localcovers not shown in shelves browser.
Signed-off-Bug-9549-Fix-localcovers-not-shown-in-s.patch (text/plain), 3.61 KB, created by
Melia Meggs
on 2013-03-21 22:57:53 UTC
(
hide
)
Description:
[Signed off] Bug 9549 Fix localcovers not shown in shelves browser.
Filename:
MIME Type:
Creator:
Melia Meggs
Created:
2013-03-21 22:57:53 UTC
Size:
3.61 KB
patch
obsolete
>From 225208a08d79f1be8a0104c1797d7e935d91578e Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick?= <frederick.capovilla@libeo.com> >Date: Wed, 20 Mar 2013 16:01:42 -0400 >Subject: [PATCH] [Signed off] Bug 9549 Fix localcovers not shown in shelves browser. > >I had to add some css to align to center the span containing the images. > >Add the ability to view local cover images in the shelf browser. > >To test: >1. Add a local cover image to a record. Set OPACLocalCoverImages sys pref to "display." >2. Search for the record, go to the Details page, and click on Browse Shelf. >3. Verify that the local cover image appears in the shelf browser. > >Sponsored-by: CCSR > >Signed-off-by: Melia Meggs <melia@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/prog/en/css/opac.css | 4 ++++ > koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 6 ++++++ > 2 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >index cc6666e..15fcd0b 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >@@ -2920,3 +2920,7 @@ a.reviewlink,a.reviewlink:visited { > .idbresult img { > padding-right: 6px; > } >+ >+.thumbnail-shelfbrowser span { >+ margin: 0px auto; >+} >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >index 6321efd..139f9ce 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >@@ -1540,6 +1540,9 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > [% FOREACH PREVIOUS_SHELF_BROWS IN PREVIOUS_SHELF_BROWSE %] > <td> > <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% PREVIOUS_SHELF_BROWS.biblionumber %]&shelfbrowse_itemnumber=[% PREVIOUS_SHELF_BROWS.itemnumber %]#shelfbrowser"> >+ [% IF ( OPACLocalCoverImages ) %] >+ <div title="[% PREVIOUS_SHELF_BROWS.biblionumber |url %]" class="[% PREVIOUS_SHELF_BROWS.biblionumber %] thumbnail-shelfbrowser" id="local-thumbnail-shelf-[% PREVIOUS_SHELF_BROWS.biblionumber %]"></div> >+ [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( PREVIOUS_SHELF_BROWS.browser_normalized_isbn ) %] > <img border="0" src="http://images.amazon.com/images/P/[% PREVIOUS_SHELF_BROWS.browser_normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" /> >@@ -1581,6 +1584,9 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > [% FOREACH NEXT_SHELF_BROWS IN NEXT_SHELF_BROWSE %] > <td> > <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% NEXT_SHELF_BROWS.biblionumber %]&shelfbrowse_itemnumber=[% NEXT_SHELF_BROWS.itemnumber %]#shelfbrowser"> >+ [% IF ( OPACLocalCoverImages ) %] >+ <div title="[% NEXT_SHELF_BROWS.biblionumber |url %]" class="[% NEXT_SHELF_BROWS.biblionumber %] thumbnail-shelfbrowser" id="local-thumbnail-shelf-[% NEXT_SHELF_BROWS.biblionumber %]"></div> >+ [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( NEXT_SHELF_BROWS.browser_normalized_isbn ) %] > <img border="0" src="http://images.amazon.com/images/P/[% NEXT_SHELF_BROWS.browser_normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" /> >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9549
:
15069
|
15991
|
16070
|
16559
|
16700
|
18654