(bug #3267) show items.uri in opac and intranet
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / detail.tmpl
index 194da80..cb9dae5 100644 (file)
@@ -58,9 +58,7 @@ function verify_images() {
         
     <h3><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" --></h3> 
             <!-- TMPL_UNLESS NAME="item-level_itypes" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->"><!-- /TMPL_UNLESS -->
-<p>            <!-- TMPL_IF name="volume" --> <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
-            <!-- TMPL_IF name="volumedesc" -->, <!-- TMPL_VAR name="volumedesc" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="number" --> <!-- TMPL_VAR NAME="number" --> <!-- /TMPL_IF --></p>
-            <!-- TMPL_IF name="unititle" -->, <!-- TMPL_VAR name="unititle" escape="html" -->/<!-- /TMPL_IF -->
+            <!-- TMPL_IF name="unititle" --><p><!-- TMPL_VAR name="unititle" escape="html" --></p><!-- /TMPL_IF -->
             <!-- TMPL_IF NAME="author" --><p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="url" -->"><!-- TMPL_VAR NAME="author" --></a></p><!-- /TMPL_IF -->
         <ul>
         <!-- TMPL_IF name="MARCAUTHORS" -->
@@ -72,6 +70,13 @@ function verify_images() {
         </ul>
             </li>
         <!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="MARCSERIES" -->
+               <li><strong>Series: </strong><ul><!-- TMPL_LOOP NAME="MARCSERIES" -->
+               <li><!-- TMPL_LOOP NAME="MARCSERIES_SUBFIELDS_LOOP" --> <!-- TMPL_IF NAME="value" --><a href="/cgi-bin/koha/catalogue/search.pl?q=se:<!-- TMPL_VAR NAME="value" ESCAPE="url"-->"><!-- TMPL_VAR NAME="value" --></a><!-- /TMPL_IF --><!-- TMPL_IF NAME="volumenum" -->. <!-- TMPL_VAR NAME="volumenum" --><!-- /TMPL_IF --><!-- /TMPL_LOOP --></li> 
+               <!-- /TMPL_LOOP -->
+               </ul>
+               </li>
+<!-- /TMPL_IF -->
         <!-- TMPL_IF name="publishercode" -->
     <li><strong>Published by:</strong>
         <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:<!-- TMPL_VAR NAME="publishercode" ESCAPE="url" -->">
@@ -97,9 +102,9 @@ function verify_images() {
     <!-- /TMPL_IF -->
         </ul>
         </div>
-        
+       
 <!-- TMPL_IF NAME="AmazonEnabled" --><!-- TMPL_IF NAME="AmazonCoverImages" --><div class="yui-u" id="bookcoverimg">
-        <a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="normalized_isbn" -->.01._PIdp-schmooS,TopRight,7,-26_SCMZZZZZZZ_.jpg" alt="" /></a></div><!-- /TMPL_IF --><!-- /TMPL_IF -->
+<a href="http://www.amazon<!-- TMPL_VAR NAME="AmazonTld" -->/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="normalized_isbn" -->.01.MZZZZZZZ.jpg" alt="" /></a></div><!-- /TMPL_IF --><!-- /TMPL_IF -->
         
         <div class="yui-u" style="margin-top: 1em;">
         <ul>
@@ -165,6 +170,7 @@ function verify_images() {
                 <th>Last seen</th>
                 <th>Barcode</th>
                 <!-- TMPL_IF NAME="volinfo" --><th>Publication Details</th><!-- /TMPL_IF -->
+                <!-- TMPL_IF NAME="itemdata_uri" --><th>URL</th><!-- /TMPL_IF -->
                 <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy No.</th><!-- /TMPL_IF -->
             </tr>
             <!-- TMPL_LOOP NAME="itemloop" -->
@@ -266,6 +272,9 @@ function verify_images() {
                                        <!-- /TMPL_IF -->
                                        <!-- TMPL_VAR NAME="serialseq" --><!-- TMPL_IF NAME="publisheddate" --> (<!-- TMPL_VAR NAME="publisheddate" -->)<!-- /TMPL_IF -->
                                </td><!-- /TMPL_IF -->
+                               <!-- TMPL_IF NAME="itemdata_uri" -->
+                                       <td class="uri"><a href="<!-- TMPL_VAR NAME="uri" -->"><!-- TMPL_VAR NAME="uri" --></a></td>
+                               <!-- /TMPL_IF -->
                                <!-- TMPL_IF NAME="itemdata_copynumber" -->
                                        <td class="copynumber"><!-- TMPL_VAR NAME="copynumber" --></td>
                                <!-- /TMPL_IF -->
@@ -371,7 +380,7 @@ function verify_images() {
     <!-- TMPL_LOOP Name="subscriptions" -->
             <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
             <!--TMPL_IF NAME="latestserials"-->
-            <p> The three latest issues related to this subscription:</p>
+            <p> The <!-- TMPL_VAR NAME="staffdisplaycount" --> latest issues related to this subscription:</p>
             <table>
                 <tr>
                     <th>Issue #</th>
@@ -402,6 +411,7 @@ function verify_images() {
             <!--/TMPL_LOOP -->
             </table>
             <!-- /TMPL_IF -->
+                       <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->">Subscription Details</a>
     <!-- /TMPL_LOOP -->
 </div>
 </div>