Serials Display Enhancement
[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                 $('#bibliodescriptions > ul').tabs();
7         }); 
8 //]]>
9 </script>
10 </head>
11 <body>
12 <!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
13    <div id="bd" class="columnfix">
14 <!-- TMPL_INCLUDE name="masthead.inc" -->
15
16         <div id="yui-main">
17         <div class="yui-b">
18         <div class="yui-ge">
19     <div class="yui-u first">
20         <div class="container"> 
21         
22         
23      <h1 style="float:left;margin:0 1em 1em 0;">ISBD</h1> <div id="views">
24          <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">Normal View</a></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">MARC View</a></span> <span class="view"><span id="ISBDview">ISBD View</span></span>
25 </div>
26     <div id="isbdcontents"><!-- TMPL_VAR name="ISBD" --></div>
27         
28                 <div id="bibliodescriptions" class="toptabs">
29         <ul>   
30         <!-- TMPL_IF name="subscriptionsnumber" --><li>
31                     <a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#opac-isbd-subscriptions">Subscriptions</a>
32             </li><!-- /TMPL_IF -->
33         <!-- TMPL_IF NAME="reviewson" --><li><a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#comments">Comments</a></li><!-- /TMPL_IF -->
34                 <!-- TMPL_IF NAME="OPACAmazonEnabled" --><li><a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#opac-isbd-amazonreviews">Amazon Reviews</a></li><!-- /TMPL_IF -->
35         </ul>
36
37                 <div id="opac-isbd-subscriptions">    <!-- TMPL_IF name="subscriptionsnumber" -->
38                 <h2>
39                     We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscription(s) associated with this title.
40                 </h2>
41                 <!-- TMPL_LOOP Name="subscriptions" -->
42                     <h3>At library: <!-- TMPL_VAR name="branchcode" --> <!-- TMPL_VAR name="notes" --></h3>
43                     <p>Below is a list of the <!-- TMPL_VAR NAME="opacdisplaycount" --> latest issues :</p>
44                     <!-- TMPL_IF name="subscriptionnotes"-->
45                         <p><!--TMPL_VAR Name="subscriptionnotes"--> </p>
46                     <!-- /TMPL_IF -->
47                     <!--TMPL_IF Name="latestserials"-->
48                     <table>
49                     <tr><th>Issue number</th><th>Date</th><th>Status</th></tr>
50                     <!--TMPL_LOOP Name="latestserials"-->
51                         <tr>
52                             <td>            <!--TMPL_VAR Name="serialseq"-->
53                             </td>
54                             <td>            <!--TMPL_VAR Name="planneddate"-->
55                             </td>
56                             <td>            <!--TMPL_IF Name="status1"-->Pending
57                                 <!--TMPL_ELSE -->
58                                     <!-- TMPL_IF Name="status2"-->Arrived
59                                     <!--TMPL_ELSE -->
60                                         <!-- TMPL_IF Name="status3"-->Late
61                                         <!--TMPL_ELSE -->
62                                             <!-- TMPL_IF Name="status4"-->Missing
63                                             <!--TMPL_ELSE -->
64                                                 <!-- TMPL_IF Name="status5"-->Not Issued
65                                                 <!--/TMPL_IF-->
66                                             <!--/TMPL_IF-->
67                                         <!--/TMPL_IF-->
68                                     <!--/TMPL_IF-->
69                                 <!--/TMPL_IF-->
70                             </td>
71                         </tr>
72                     <!--/TMPL_LOOP -->
73                     </table>
74                     <!-- /TMPL_IF -->
75                 <!-- /TMPL_LOOP -->
76                 <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>
77             <!-- /TMPL_IF --></div>
78
79         <!-- TMPL_IF NAME="reviewson" -->
80         <div id="comments">
81         <!-- TMPL_IF NAME="reviews" -->
82                 <!--TMPL_LOOP NAME="reviews"-->
83                     <h5>
84                         Comment by
85                         <!--TMPL_VAR NAME="title"-->
86                         <!--TMPL_VAR NAME="firstname"-->
87                         <!--TMPL_VAR NAME="surname"-->
88                     </h5>
89                                 <small>
90                         <!--TMPL_VAR NAME="datereviewed"-->
91                     </small>
92                 <p>
93                   <!--TMPL_VAR NAME="review" ESCAPE="HTML"-->
94                 </p>
95                 <!--/TMPL_LOOP-->
96             <!-- TMPL_ELSE  -->
97                 <p>There are no comments for this item.</p>
98         <!-- /TMPL_IF -->
99
100             <!-- TMPL_IF NAME="loggedinusername" -->
101                <p> <a href="javascript:Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->');">
102                     Post or edit your comments on this item.
103                 </a></p>
104             <!-- TMPL_ELSE -->
105                 <p><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment.</p>
106             <!-- /TMPL_IF -->
107                 </div>
108
109         <!-- /TMPL_IF -->
110
111         <!-- TMPL_IF NAME="OPACAmazonEnabled" -->
112         <!-- Amazon Reviews -->
113         <div id="opac-isbd-amazonreviews">
114
115             <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
116             <!-- TMPL_IF NAME="normalized_isbn" -->
117                 <h4><a href="http://www.amazon.com/gp/customer-reviews/write-a-review.html/002-2970817-7876066?%5Fencoding=UTF8&asin=<!-- TMPL_VAR NAME="normalized_isbn" -->&amp;store=books">Add your own review</a></h4>
118             <!-- /TMPL_IF -->
119             <!-- /TMPL_LOOP --><br/>
120
121                 <!-- TMPL_IF NAME="rating" -->
122                     <h4>Rating (from Amazon.com):</h4>
123                 <div id="starMT"><div id="starFull" style="width:<!-- TMPL_VAR NAME="rating" -->px"></div></div>
124
125                 <!-- TMPL_LOOP NAME="AMAZONREVIEWS" -->
126                     <div class="content_set">
127                     <!-- TMPL_IF NAME="summary" -->
128                     <h4 class="underline">  <!-- TMPL_VAR NAME="summary" --></h4>
129                     <!-- /TMPL_IF -->
130                     <!-- TMPL_IF NAME="comment" -->
131                         <p><!-- TMPL_VAR NAME="comment" -->
132                     </p><!-- /TMPL_IF -->
133                     </div>
134             <!-- /TMPL_LOOP -->
135             <!-- TMPL_ELSE -->
136
137             <p> Sorry, there are no reviews available for this title. </p>
138
139             <!-- /TMPL_IF -->
140         </div> <!-- itemReviews -->
141         <!-- /TMPL_IF-->
142         </div>
143         </div>
144         </div>
145         <div class="yui-u">
146         <div class="container">
147 <ul id="action">
148
149 <!-- TMPL_UNLESS NAME="norequests" -->
150     <!-- TMPL_UNLESS name="bi_notforloan" -->
151         <!-- TMPL_IF NAME="opacuserlogin" --><!-- TMPL_IF NAME="RequestOnOpac" -->
152             <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
153             Place Hold
154             </a></li>
155         <!-- /TMPL_IF --><!-- /TMPL_IF -->
156     <!-- /TMPL_UNLESS -->
157 <!-- /TMPL_UNLESS -->
158         <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;">
159             Print
160         </a></li>
161 <!-- TMPL_IF name="virtualshelves" -->
162    <!-- TMPL_IF NAME="opacuserlogin" --> <!-- TMPL_IF NAME="loggedinusername" -->
163         <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;">
164             Save to Your Lists
165         </a></li>
166     <!-- /TMPL_IF --><!-- /TMPL_IF -->
167 <!-- /TMPL_IF -->
168         <!-- TMPL_IF NAME="opacbookbag" --><li><a class="addtocart" href="#" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
169             Add to Your Cart
170         </a></li><!-- /TMPL_IF -->
171 </ul>
172                 <div id="export">
173                 <form method="get" action="/cgi-bin/koha/opac-export.pl">
174                 <label for="format">Save Record:</label>
175             <select name="format" id="format">
176                 <option value="">-- Choose Format --</option>
177         <option value="mods">MODS (XML)</option>
178         <option value="dc">Dublin Core (XML)</option>
179         <option value="marcxml">MARCXML</option>
180         <option value="marc8">MARC (non-Unicode/MARC-8)</option>
181         <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" -->" />
182 <input type="submit" name="save" value="Go" /></form></div>
183 </div>
184 </div>
185 </div>
186
187 </div>
188 </div><!-- TMPL_IF NAME="OpacNav" -->
189 <div class="yui-b">
190 <div class="container">
191 <!--TMPL_INCLUDE NAME="navigation.inc" -->
192 </div>
193 </div><!-- /TMPL_IF -->
194 </div>
195 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->