Some style fixes for search results screen
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-ISBDdetail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; ISBD View
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 <script type="text/JavaScript" language="JavaScript">
4 //<![CDATA[
5          $(document).ready(function() {
6                         var $tabs = $('#bibliodescriptions').tabs({
7                         onClick: function(tab) {
8                        if ( $(tab).is('.external') ) {
9                            location.href = tab.href;
10                            return false;
11                        }
12                    }
13                 });
14          }); 
15 //]]>
16 </script>
17 </head>
18 <body>
19 <!-- TMPL_INCLUDE name="masthead.inc" -->
20
21 <!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
22    <div id="bd">
23         <div id="yui-main">
24         <div class="yui-b"><div class="yui-ge">
25     <div class="yui-u first">
26         
27         
28     <h1>ISBD</h1>
29     <!-- TMPL_VAR name="ISBD" -->
30         
31         </div>
32         <div class="yui-u">
33
34 <ul id="action">
35
36 <!-- TMPL_UNLESS NAME="norequests" -->
37     <!-- TMPL_UNLESS name="bi_notforloan" -->
38         <!-- TMPL_IF NAME="RequestOnOpac" -->
39             <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
40             Place Reserve
41             </a></li>
42         <!-- /TMPL_IF -->
43     <!-- /TMPL_UNLESS -->
44 <!-- /TMPL_UNLESS -->
45         <li><a class="print" href="/cgi-bin/koha/opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
46             Print
47         </a></li>
48 <!-- TMPL_IF name="virtualshelves" -->
49     <!-- TMPL_IF NAME="loggedinusername" -->
50         <li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
51             Save to Your Lists
52         </a></li>
53     <!-- /TMPL_IF -->
54 <!-- /TMPL_IF -->
55         <!-- TMPL_IF NAME="opacbookbag" --><li><a class="addtocart" href="#" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
56             Add to Your Cart
57         </a></li><!-- /TMPL_IF -->
58 </ul>
59                 <div id="export">
60                 <form method="get" action="/cgi-bin/koha/opac-export.pl">
61                 <label for="format">Save Record:</label>
62             <select name="format" id="format">
63                 <option value="">-- Choose Format --</option>
64         <option value="mods">MODS (XML)</option>
65         <option value="dc">Dublin Core (XML)</option>
66         <option value="marcxml">MARCXML</option>
67         <option value="marc8">MARC (non-Unicode/MARC-8)</option>
68         <option value="utf8">MARC (Unicode/UTF-8)</option>    </select><input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
69 <input type="submit" name="save" value="Go" /></form></div>
70 </div>
71 </div>
72
73 <div class="yui-g">
74         <div id="bibliodescriptions" class="toptabs">
75 <ul>   
76 <!-- TMPL_IF name="subscriptionsnumber" --><li>
77             <a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#opac-isbd-subscriptions">Subscriptions</a>
78     </li><!-- /TMPL_IF -->
79 <!-- TMPL_IF NAME="reviewson" --><li><a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#opac-isbd-comments">Comments</a></li><!-- /TMPL_IF -->
80         <!-- TMPL_IF NAME="AmazonContent" --><li><a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#opac-isbd-amazonreviews">Amazon Reviews</a></li><!-- /TMPL_IF -->
81
82       <li><a class="external"  href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Normal View</a></li>
83
84         <li> <a class="external" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
85             MARC View
86         </a></li>
87 </ul>
88
89         <div id="opac-isbd-subscriptions">    <!-- TMPL_IF name="subscriptionsnumber" -->
90         <h2>
91             We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscription(s) associated with this title.
92         </h2>
93         <!-- TMPL_LOOP Name="subscriptions" -->
94             <h3>At library: <!-- TMPL_VAR name="branchcode" --> <!-- TMPL_VAR name="notes" --></h3>
95             <p>Below is a list of the three latest issues :</p>
96             <!-- TMPL_IF name="subscriptionnotes"-->
97                 <p><!--TMPL_VAR Name="subscriptionnotes"--> </p>
98             <!-- /TMPL_IF -->
99             <!--TMPL_IF Name="latestserials"-->
100             <table>
101             <tr><th>Issue number</th><th>Date</th><th>Status</th></tr>
102             <!--TMPL_LOOP Name="latestserials"-->
103                 <tr>
104                     <td>            <!--TMPL_VAR Name="serialseq"-->
105                     </td>
106                     <td>            <!--TMPL_VAR Name="planneddate"-->
107                     </td>
108                     <td>            <!--TMPL_IF Name="status1"-->Pending
109                         <!--TMPL_ELSE -->
110                             <!-- TMPL_IF Name="status2"-->Arrived
111                             <!--TMPL_ELSE -->
112                                 <!-- TMPL_IF Name="status3"-->Late
113                                 <!--TMPL_ELSE -->
114                                     <!-- TMPL_IF Name="status4"-->Missing
115                                     <!--TMPL_ELSE -->
116                                         <!-- TMPL_IF Name="status5"-->Not Issued
117                                         <!--/TMPL_IF-->
118                                     <!--/TMPL_IF-->
119                                 <!--/TMPL_IF-->
120                             <!--/TMPL_IF-->
121                         <!--/TMPL_IF-->
122                     </td>
123                 </tr>
124             <!--/TMPL_LOOP -->
125             </table>
126             <!-- /TMPL_IF -->
127         <!-- /TMPL_LOOP -->
128         <p><a href="/cgi-bin/koha/opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" title="Serial issues">Click here</a> for more information on subscription(s) history</p>
129     <!-- /TMPL_IF --></div>
130         
131 <!-- TMPL_IF NAME="reviewson" -->
132     <div id="opac-isbd-comments"><!-- TMPL_IF NAME="reviews" -->
133     <h2>Reviews by members:</h2>
134         <!--TMPL_LOOP NAME="reviews"-->
135         <p>
136             <b>
137                 Review by
138                 <!--TMPL_VAR NAME="title"-->
139                 <!--TMPL_VAR NAME="surname"-->
140                 <!--TMPL_VAR NAME="firstname"-->
141             </b>
142             <br />
143             <small>
144                 <!--TMPL_VAR NAME="datereviewed"-->
145             </small>
146         </p>
147         <p>
148           <!--TMPL_VAR NAME="review"-->
149         </p>
150         <br />
151         <!--/TMPL_LOOP-->
152     <!-- TMPL_ELSE  -->
153         <b>No reviews has been writed on this biblio.</b>
154     <!-- /TMPL_IF -->
155     <!-- TMPL_IF NAME="loggedinusername" -->
156         <a href="javascript:Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->');">
157             Write or modify your reviews on this biblio.
158         </a>
159     <!-- TMPL_ELSE -->
160         <br /><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to write a review here.
161     <!-- /TMPL_IF --></div>
162 <!-- /TMPL_IF -->
163
164 <!-- TMPL_IF NAME="AmazonContent" -->
165 <!-- Amazon Reviews -->
166 <div id="opac-isbd-amazonreviews">
167         
168     <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
169     <!-- TMPL_IF NAME="isbn" -->
170         <h4><a href="http://www.amazon.com/gp/customer-reviews/write-a-review.html/002-2970817-7876066?%5Fencoding=UTF8&asin=<!-- TMPL_VAR NAME="isbn" -->&amp;store=books">Add your own review</a></h4>
171     <!-- /TMPL_IF -->
172     <!-- /TMPL_LOOP --><br/>
173
174         <!-- TMPL_IF NAME="rating" -->
175             <h4>Rating (from Amazon.com):</h4>
176         <div id="starMT"><div id="starFull" style="width:<!-- TMPL_VAR NAME="rating" -->px"></div></div>
177
178         <!-- TMPL_LOOP NAME="AMAZONREVIEWS" -->
179             <div class="content_set">
180             <!-- TMPL_IF NAME="summary" -->
181             <h4 class="underline">  <!-- TMPL_VAR NAME="summary" --></h4>
182             <!-- /TMPL_IF -->
183             <!-- TMPL_IF NAME="comment" -->
184                 <p><!-- TMPL_VAR NAME="comment" -->
185             </p><!-- /TMPL_IF -->
186             </div>
187     <!-- /TMPL_LOOP -->
188     <!-- TMPL_ELSE -->
189
190     <p> Sorry, there are no reviews available for this title. </p>
191
192     <!-- /TMPL_IF -->
193 </div> <!-- itemReviews -->
194 <!-- /TMPL_IF-->
195 </div>
196
197 </div>
198 </div>
199 </div>
200         <!-- TMPL_IF NAME="OpacNav" --><div class="yui-b"><!--TMPL_INCLUDE NAME="navigation.inc" --></div><!-- /TMPL_IF -->
201 </div>
202 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->