Merge remote branch 'kc/new/enh/bug_5692' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / serial-issues-full.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Serials &rsaquo; Subscription information for biblio #[% biblionumber %] with title : [% bibliotitle %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
5 //<![CDATA[
6 active([% yearmin %]);
7 function active(numlayer)
8 {
9         for (i=[% yearmin %]; i<=[% yearmax %]; i++ ) {
10                 ong = i;
11                 link = "link"+i;
12                 if (numlayer==i) {
13                         document.getElementById(ong).style.visibility="visible";
14                 } else {
15                         document.getElementById(ong).style.visibility="hidden";
16                 }
17         }
18 }
19 //]]>
20 </script>
21 </head>
22 <body>
23
24 [% UNLESS ( popup ) %]
25 [% INCLUDE 'header.inc' %]
26 [% INCLUDE 'serials-search.inc' %]
27 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Serials </div>
28
29 <div id="doc3" class="yui-t2">
30    
31    <div id="bd">
32         <div id="yui-main">
33         <div class="yui-b">
34         <h1>Subscription information for biblio #[% biblionumber %] with title : [% bibliotitle %]</h1>
35         <p>
36         <a href="opac-detail.pl?biblionumber=[% biblionumber %]" class="button">Back to biblio</a>
37 [% END %]
38         [% FOREACH year IN years %]
39                 [% IF ( year.year ) %]
40                         <a  class="button" href="javascript:active([% year.year %])">[% year.year %]</a>
41                 [% END %]
42         [% END %]
43         <a class=" button serial" href="serial-issues.pl?biblionumber=[% biblionumber %]&amp;selectview=small">Compact view</a>
44         </p>
45         [% FOREACH year IN years %]
46         <div name="[% year.year %]" id="[% year.year %]" style="position:absolute; visibility:hidden; margin-top:0px; border:4px;" [% IF ( year.first ) %]style="visibility:visible"[% END %]>
47                 <table>
48                         <tr>
49                                 <th>Information
50                                 </th>
51                                 <th>Date
52                                 </th>
53                                 <th>Number
54                                 </th>
55                                 <th>Status
56                                 </th>
57                         </tr>
58                         [% FOREACH serial IN year.serials %]
59                         <tr>
60                                 <td>
61                                         [% serial.notes %]
62                                 </td>
63                                 <td>
64                                         [% serial.planneddate %]
65                                 </td>
66                                 <td>
67                                         [% serial.serialseq %]
68                                 </td>
69                                 <td>
70                                         [% IF ( serial.status1 ) %]Arrived[% END %]
71                                         [% IF ( serial.status2 ) %]Expected[% END %]
72                                         [% IF ( serial.status3 ) %]Late[% END %]
73                                         [% IF ( serial.status4 ) %]Missing[% END %]
74                                         [% IF ( serial.status5 ) %]Not Available[% END %]
75                                         [% IF ( serial.status7 ) %]Claimed[% END %]
76                                 </td>
77                         </tr>
78                         [% END %]
79                 </table>
80         </div>
81         [% END %]
82
83 </div>
84 </div>
85
86 <div class="yui-b">
87 [% INCLUDE 'serials-menu.inc' %]
88 </div>
89 </div>
90 [% INCLUDE 'intranet-bottom.inc' %]