MT 1587 : CSV export for cart and shelves, with the ability to define different expor...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-full-serial-issues.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;  Serials
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 </head>
4 <body>
5 <!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
6    <div id="bd">
7 <!-- TMPL_INCLUDE name="masthead.inc" -->
8
9         <div id="yui-main">
10         <div class="yui-b"><div class="yui-g">
11 <div class="container">
12
13 <!-- TMPL_UNLESS name="popup" -->
14     <h1 class="catalogue">Subscription information for <!-- TMPL_VAR name="bibliotitle" --></h1>
15     <a href="opac-detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">Back to biblio</a>
16 <!-- /TMPL_UNLESS -->
17     <div class="tabsubs">
18     <!-- TMPL_LOOP NAME="years" -->
19         <!-- TMPL_IF NAME="year" -->
20             <a  class="tabsubs" href="javascript:showlayer(<!-- TMPL_VAR NAME="year" -->)"><!-- TMPL_VAR NAME="year" --></a>
21         <!-- /TMPL_IF -->
22     <!-- /TMPL_LOOP -->
23     <a class="tabsubs" href="opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=small">Compact view</a>
24     </div>
25
26     <!-- TMPL_LOOP NAME="years" -->
27   <!--TMPL_IF Name="first" -->  
28     <div name="yeardata" id="<!-- TMPL_VAR NAME="year" -->" class="tabsub" style="display:block"><!--TMPL_ELSE --><div name="yeardata" id="<!-- TMPL_VAR NAME="year" -->" class="tabsub" style="display:none"><!--/TMPL_IF -->
29         <table width="400px">
30             <tr>
31                 <th>Date
32                 </th>
33                 <th>Library
34                 </th>
35                 <th>Notes
36                 </th>
37                 <th>Date received
38                 </th>
39                 <th>Number
40                 </th>
41                 <th>Status
42                 </th>
43             </tr>
44         <!-- TMPL_LOOP Name="serials" -->
45             <!-- TMPL_UNLESS Name="__odd__" -->
46             <tr class="highlight">
47             <!-- TMPL_ELSE --> 
48             <tr>
49             <!-- /TMPL_UNLESS -->
50                 <td>    <!-- TMPL_VAR Name="publisheddate" -->
51                 </td>
52                 <td>    <!-- TMPL_VAR name="branchname" -->
53                 </td>
54                 <td>    <!-- TMPL_VAR name="notes" -->
55                 </td>
56                 <td>   <!-- TMPL_IF Name="status2" --> <!-- TMPL_VAR Name="planneddate" --> <!-- /TMPL_IF -->
57                 </td>
58                 <td>    <!-- TMPL_VAR Name="serialseq" -->
59                 </td>
60                 <td>    <!-- TMPL_IF Name="status1" -->Waiting<!-- /TMPL_IF -->
61                     <!-- TMPL_IF Name="status2" -->Arrived<!-- /TMPL_IF -->
62                     <!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF -->
63                     <!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF -->
64                     <!-- TMPL_IF Name="status5" -->Not Published<!-- /TMPL_IF -->
65                     <!-- TMPL_IF name="notes" -->(<!-- TMPL_VAR name="notes" -->)<!-- /TMPL_IF -->
66                 </td>
67             </tr>
68             <!-- /TMPL_LOOP -->
69         </table>
70     </div>
71     <!--/TMPL_LOOP -->
72 <script language="JavaScript" type="text/javascript">
73 showlayer(<!-- TMPL_VAR name="yearmin" -->);
74 function showlayer(numlayer)
75 {
76     var yeardata=document.getElementsByName("yeardata");
77     for (i=0; i<yeardata.length; i++ ) {
78         ong=yeardata[i].getAttribute('id');
79         if (numlayer==ong) {
80             yeardata[i].style.display="block";
81         } else {
82             yeardata[i].style.display="none";
83         }
84     }
85 }
86
87 </script>
88 </div></div>
89 </div>
90 </div>
91 <!-- TMPL_IF NAME="OpacNav" -->
92 <div class="yui-b">
93 <div class="container">
94 <!--TMPL_INCLUDE NAME="navigation.inc" -->
95 </div>
96 </div><!-- /TMPL_IF -->
97 </div>
98 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->