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