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