View | Details | Raw Unified | Return to bug 7669
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/css/opac.css (-2 / +17 lines)
Lines 2012-2018 table#items th { Link Here
2012
.results_summary img {
2012
.results_summary img {
2013
	margin : 0 5px;
2013
	margin : 0 5px;
2014
 }
2014
 }
2015
span.no-image {
2015
span.no-image{
2016
	background-color : #FFF;
2016
	background-color : #FFF;
2017
	border: 1px solid #979797;
2017
	border: 1px solid #979797;
2018
	color : #AAA;
2018
	color : #AAA;
Lines 2309-2312 a.localimage img { Link Here
2309
	border : 1px solid #8EB3E7;
2309
	border : 1px solid #8EB3E7;
2310
	margin : 0 .5em;
2310
	margin : 0 .5em;
2311
	padding : .3em;
2311
	padding : .3em;
2312
}
2312
}
2313
2314
.no-image{/*make it like the thumbnail class*/
2315
	float : left;
2316
	margin : 0pt 5px 5px 0pt; 
2317
	background-color : #FFF;
2318
	border: 1px solid #979797;
2319
	color : #AAA;
2320
	display:block;
2321
	font-size : 86%;
2322
	font-weight : bold;
2323
	text-align : center;
2324
	width : 75px;
2325
}
2326
2327
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt (-13 / +29 lines)
Lines 531-548 $(document).ready(function(){ Link Here
531
				</span>
531
				</span>
532
				</td><td>
532
				</td><td>
533
					<a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">
533
					<a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">
534
            [% IF ( OPACLocalCoverImages ) %]<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>[% END %]
534
            	[% IF ( OPACLocalCoverImages ) %]
535
                    [% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %][% END %]
535
					<div title="[% SEARCH_RESULT.biblionumber |url %]" class="thumbnail opac_thumb [% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></div>
536
536
				[% END %]
537
					[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( using_https ) %]
537
				[% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]
538
                <img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="thumbnail" />
538
					<div class="thumbnail amazon_thumb"><img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail_image" /></div>
539
                [% ELSE %]
539
				[% ELSE %]
540
                <img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="thumbnail" />[% END %][% END %][% END %]
540
					<div class="no-image amazon_no">No cover image available</div>
541
541
				[% END %][% END %][% END %]
542
                [% IF ( GoogleJackets ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<div style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %]
542
				[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( using_https ) %]
543
		[% IF OpenLibraryCovers %][% IF SEARCH_RESULT.normalized_isbn %]<div style="block" title="[% SEARCH_RESULT.biblionumber %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></div>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %]
543
					<div class="thumbnail syndetics_thumb"><img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="thumbnail_image" />
544
                </a>
544
				[% ELSE %]
545
                [% IF ( BakerTaylorEnabled ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<a href="https://[% BakerTaylorBookstoreURL |html %][% SEARCH_RESULT.normalized_isbn %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% SEARCH_RESULT.normalized_isbn %]" /></a>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %]
545
					<div class="thumbnail syndetics_thumb"><img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="thumbnail_image" />
546
				[% END %][% END %][% END %]
547
				[% IF ( GoogleJackets ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]
548
					<div title="[% SEARCH_RESULT.biblionumber |url %]" class="thumbnail google_thumb [% SEARCH_RESULT.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
549
				[% ELSE %]
550
					<div class="no-image google_no">No cover image available</div>
551
				[% END %][% END %]
552
				[% IF OpenLibraryCovers %][% IF SEARCH_RESULT.normalized_isbn %]
553
					<div title="[% SEARCH_RESULT.biblionumber %]" class="thumbnail openlibrary_thumb [% SEARCH_RESULT.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></div>
554
				[% ELSE %]
555
					<div class="no-image openlibrary_no">No cover image available</div>
556
				[% END %][% END %]
557
					</a>
558
				[% IF ( BakerTaylorEnabled ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]
559
					<div class="thumbnail bakertaylor_thumb"><a href="https://[% BakerTaylorBookstoreURL |html %][% SEARCH_RESULT.normalized_isbn %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% SEARCH_RESULT.normalized_isbn %]" /></a></div>
560
				[% ELSE %]
561
					<div class="no-image bakertaylor_no">No cover image available</div>
562
				[% END %][% END %]
546
				</td>
563
				</td>
547
                </tr>
564
                </tr>
548
                [% END %]
565
                [% END %]
549
- 

Return to bug 7669