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

(-)a/koha-tmpl/opac-tmpl/prog/en/css/opac.css (-1 / +14 lines)
Lines 2116-2122 table#items th { Link Here
2116
.results_summary img {
2116
.results_summary img {
2117
	margin : 0 5px;
2117
	margin : 0 5px;
2118
 }
2118
 }
2119
span.no-image {
2119
span.no-image{
2120
	background-color : #FFF;
2120
	background-color : #FFF;
2121
	border: 1px solid #979797;
2121
	border: 1px solid #979797;
2122
	color : #AAA;
2122
	color : #AAA;
Lines 2850-2852 body#opac-main #opacmainuserblockmobile { Link Here
2850
video {
2850
video {
2851
    width: 480px;
2851
    width: 480px;
2852
}
2852
}
2853
2854
.no-image{/*make it like the thumbnail class*/
2855
	float : left;
2856
	margin : 0pt 5px 5px 0pt;
2857
	background-color : #FFF;
2858
	border: 1px solid #979797;
2859
	color : #AAA;
2860
	display:block;
2861
	font-size : 86%;
2862
	font-weight : bold;
2863
	text-align : center;
2864
	width : 75px;
2865
}
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt (-26 / +33 lines)
Lines 624-654 $(document).ready(function(){ Link Here
624
                        <a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">Add to cart</a> <a style="display:none;" class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">(remove)</a>
624
                        <a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">Add to cart</a> <a style="display:none;" class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">(remove)</a>
625
                    [% END %]
625
                    [% END %]
626
                [% END %]
626
                [% END %]
627
                </span>
627
				</span>
628
                </td><td>
628
				</td><td>
629
                    <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">
629
					<a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">
630
            [% IF ( OPACLocalCoverImages ) %]<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>[% END %]
630
		[% IF ( OPACLocalCoverImages ) %]
631
                    [% 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 %]
631
					<div title="[% SEARCH_RESULT.biblionumber |url %]" class="thumbnail opac_thumb [% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></div>
632
632
				[% END %]
633
                [% IF ( SyndeticsEnabled ) %]
633
				[% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]
634
                    [% IF ( SyndeticsCoverImages ) %]
634
					<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>
635
                        [% IF SEARCH_RESULT.normalized_isbn %]
635
				[% ELSE %]
636
                                [% IF ( using_https ) %]
636
					<div class="no-image amazon_no">No cover image available</div>
637
                            <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" />
637
				[% END %][% END %][% END %]
638
                        [% ELSE %]
638
				[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( using_https ) %]
639
                            <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" />
639
					<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" />
640
                    [% END %]
640
				[% ELSE %]
641
                    [% ELSE %]
641
					<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" />
642
                        <span class="no-image">No cover image available</span>
642
				[% END %][% END %][% END %]
643
                    [% END %]
643
				[% IF ( GoogleJackets ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]
644
            [% END %]
644
					<div title="[% SEARCH_RESULT.biblionumber |url %]" class="thumbnail google_thumb [% SEARCH_RESULT.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
645
                [% END %]
645
				[% ELSE %]
646
646
					<div class="no-image google_no">No cover image available</div>
647
                [% 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>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %]
647
				[% END %][% END %]
648
        [% 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>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %]
648
				[% IF OpenLibraryCovers %][% IF SEARCH_RESULT.normalized_isbn %]
649
                </a>
649
					<div title="[% SEARCH_RESULT.biblionumber %]" class="thumbnail openlibrary_thumb [% SEARCH_RESULT.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></div>
650
                [% 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 %]
650
				[% ELSE %]
651
                </td>
651
					<div class="no-image openlibrary_no">No cover image available</div>
652
				[% END %][% END %]
653
					</a>
654
				[% IF ( BakerTaylorEnabled ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]
655
					<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>
656
				[% ELSE %]
657
					<div class="no-image bakertaylor_no">No cover image available</div>
658
				[% END %][% END %]
659
				</td>
652
                </tr>
660
                </tr>
653
                [% END %]
661
                [% END %]
654
            </table>
662
            </table>
655
- 

Return to bug 7669