Fixing some call number and item type display issues. Still need item type images...
[srvgit] / koha-tmpl / opac-tmpl / prog / en / modules / opac-detail.tmpl
index ec9dde2..d6461b8 100755 (executable)
 
     </p>
     <!-- /TMPL_IF -->
+
+   <!-- TMPL_IF name="MARCSERIES" -->
+    <p><span class="label">Series:</span>
+            <!-- TMPL_LOOP NAME="MARCSERIES" -->
+            <!-- TMPL_LOOP NAME="MARCSERIES_SUBFIELDS_LOOP" -->
+ <a href="/cgi-bin/koha/opac-search.pl?q=series:<!-- TMPL_VAR NAME
+    ="value"-->"><!-- TMPL_VAR NAME="value" --></a>
+                <!-- /TMPL_LOOP -->
+            <!-- /TMPL_LOOP -->
+    </p>
+    <!-- /TMPL_IF -->
+
     <!-- TMPL_IF name="editionstatement" -->
     <p><span class="label">Edition statement:</span><!-- TMPL_VAR name="editionstatement" --><!-- TMPL_IF name="editionresponsibility" -->/<!-- TMPL_VAR name="editionresponsibility" --><!-- /TMPL_IF--></p>
     <!-- /TMPL_IF -->
         <!-- /TMPL_IF -->
     </p>
     <!-- TMPL_IF name="MARCURLS" -->
-       <!-- TMPL_IF NAME="count" -->
        <p><span class="label">Online Resources:</span>
     <ul>    <!-- TMPL_LOOP name="MARCURLS" -->
                <li><!-- TMPL_IF NAME="part" --><!-- TMPL_VAR NAME="part" -->
             <!-- /TMPL_LOOP --></ul>
     </p>
     <!-- /TMPL_IF -->
-    <!-- /TMPL_IF -->
 </div>
 </div>
 
     <table>
         <tr>
             <th>Item type</th>
-            <th>Collection</th>
             <th>Location</th>
             <th>Status</th>
             <th>Date Due</th>
         </tr>
         <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
         <tr>
-            <td><!-- TMPL_VAR NAME="description" --></td>
-            <td><!-- TMPL_VAR NAME="ccode" --></td>
+            <td><!-- TMPL_IF NAME="imageurl" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" alt="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --> <!-- TMPL_VAR name="description" -->
+                    </td>
             <td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR name="location" --> <!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
             <td><!-- TMPL_IF name="bi_notforloan" -->
                     Not for loan
     <h2>This is a serial subscription</h2>
     <p> (There are <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p>
     <!-- TMPL_LOOP Name="subscriptions" -->
+    <!-- TMPL_IF name="branchcode" --><h3>At branch: <!-- TMPL_VAR name="branchcode" --></h3><!-- /TMPL_IF -->
     <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
     <!--TMPL_IF NAME="latestserials"-->
     <p> The three latest issues for this subscription:</p>
                 </td>
                 <td>    <!--TMPL_VAR Name="planneddate"-->
                 </td>
-                <td>    <!--TMPL_IF Name="status1"-->Waited
+                <td>    <!--TMPL_IF Name="status1"-->Awaited
                     <!--TMPL_ELSE -->
                     <!-- TMPL_IF Name="status2"-->Arrived
                     <!--TMPL_ELSE -->
         </table>
         <!-- /TMPL_IF -->
         <!-- /TMPL_LOOP -->
+               <p><a href="opac-serial-issues.pl?biblionumber=<!-- TMPl_VAR name="biblionumber" -->">More details</a></p>
     </div>
     <!-- /TMPL_IF -->