Merge commit 'kc/master'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / serials-home.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Serials <!-- TMPL_VAR name="biblionumber" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5 <script type="text/javascript">
6 //<![CDATA[
7  $(document).ready(function() {
8         $("#srlt").tablesorter({
9             headers: {
10                 2: { sorter: false },
11                 4: { sorter: false },
12                                 5: { sorter: false }
13             }
14         }); 
15  }); 
16  //]]>
17 </script>
18 </head>
19 <body> 
20 <!-- TMPL_INCLUDE NAME="header.inc" -->
21 <!-- TMPL_INCLUDE NAME="serials-search.inc" -->
22
23 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <!-- TMPL_IF NAME="done_searched"--><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; Search results<!-- TMPL_ELSE -->Serials <!-- /TMPL_IF --> </div>
24
25 <div id="doc3" class="yui-t2">
26    
27    <div id="bd">
28         <div id="yui-main">
29         <div class="yui-b">
30         <!-- TMPL_INCLUDE NAME="serials-toolbar.inc" -->
31         
32 <!--TMPL_IF Name="information"-->
33 Serials updated :
34 <table>
35   <tr>
36     <th>
37       Serialseq
38     </th>
39     <th>
40       Status
41     </th>
42     <th>
43       Publisheddate
44     </th>
45     <th>
46       Planneddate
47     </th>
48     <th>
49       Notes
50     </th>
51   </tr>  
52 <!--TMPL_LOOP Name="information"-->
53   <tr>
54     <td>
55       <!--TMPL_VAR Name="serialseq"-->
56     </td>
57     <td>
58       <!--TMPL_VAR Name="status"-->
59     </td>
60     <td>
61       <!--TMPL_VAR Name="publisheddate"-->
62     </td>
63     <td>
64       <!--TMPL_VAR Name="planneddate"-->
65     </td>
66     <td>
67       <!--TMPL_VAR Name="notes"-->
68     </td>
69   </tr>  
70 <!--/TMPL_LOOP -->
71 </table>
72 <!--/TMPL_IF-->
73         <!-- TMPL_IF NAME="done_searched"-->
74 <h2>Serials subscriptions</h2>
75
76     <table id="srlt">
77         <thead>
78         <tr>
79             <th>ISSN</th>
80             <th>Title</th>
81             <th> Notes </th>
82             <th>
83                 Library (Callnumber)
84             </th>
85             <!-- TMPL_IF NAME="routing" -->
86               <th>Routing list</th>
87             <!-- /TMPL_IF -->        
88             <th colspan="2">&nbsp;</th>
89         </tr>
90         </thead>
91         <tbody> 
92         <!-- TMPL_LOOP name="subscriptions" -->
93         <!-- TMPL_UNLESS name="__odd__" -->
94             <tr class="highlight">
95         <!-- TMPL_ELSE -->
96             <tr>
97         <!-- /TMPL_UNLESS -->
98                 <td>
99                 <!-- TMPL_IF name="issn" --><!-- TMPL_VAR name="issn" -->
100                 <!-- /TMPL_IF -->
101                 </td>
102                 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button" title="subscription detail"><!-- TMPL_IF name="title" --><!-- TMPL_VAR name="title" escape="html" --><!-- TMPL_ELSE -->
103                     ---
104                 <!-- /TMPL_IF --></a>
105                 </td>
106                 <td><!-- TMPL_IF name="notes" --><!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
107                 <!-- TMPL_IF name="internalnotes" -->(<!-- TMPL_VAR name="internalnotes" -->)<!-- /TMPL_IF -->
108                 </td>
109                 <td>
110                 <!-- TMPL_IF name="branchcode" --><!-- TMPL_VAR name="branchcode" --><!-- /TMPL_IF -->
111                 <!-- TMPL_IF name="callnumber" -->(<!-- TMPL_VAR name="callnumber" -->)<!-- /TMPL_IF -->
112                 </td>
113                 <!-- TMPL_IF NAME="routing" -->
114                 <td>
115                 <!-- TMPL_IF NAME="cannotedit" -->
116                   &nbsp;        
117                 <!-- TMPL_ELSE -->
118                     <!--TMPL_IF Name="routingedit"-->
119                         <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Edit</a>
120                         <!-- TMPL_ELSE -->
121                                                 <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&amp;op=new">New</a>
122                                         <!--/TMPL_IF-->
123                 <!-- /TMPL_IF -->
124                 </td>
125                 <!-- /TMPL_IF -->
126                 <td><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Issue History</a>
127                 </td>
128                 <td>
129                 <!-- TMPL_IF NAME="cannotedit" -->
130                   &nbsp;        
131                 <!-- TMPL_ELSE -->
132                   <!-- TMPL_IF name="CAN_user_serials_receive_serials" --><a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&amp;serstatus=1,3,7">Serial receive</a><!-- /TMPL_IF -->
133                 <!-- /TMPL_IF -->
134                 </td>
135             </tr>
136         <!-- /TMPL_LOOP -->
137         </tbody>
138     </table>
139     
140         <!-- /TMPL_IF -->
141
142 </div>
143 </div>
144
145 <div class="yui-b">
146 <!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
147 </div>
148 </div>
149 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->