Add JQuery tablesorters on serials-edit and booksellers
[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  }); 
10  //]]>
11 </script>
12 </head>
13 <body> 
14 <!-- TMPL_INCLUDE NAME="header.inc" -->
15 <!-- TMPL_INCLUDE NAME="serials-search.inc" -->
16
17 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Serials </div>
18
19 <div id="doc3" class="yui-t2">
20    
21    <div id="bd">
22         <div id="yui-main">
23         <div class="yui-b">
24         <!-- TMPL_INCLUDE NAME="serials-toolbar.inc" -->
25         
26 <!--TMPL_IF Name="information"-->
27 Serials updated :
28 <table>
29   <tr>
30     <th>
31       Serialseq
32     </th>
33     <th>
34       Status
35     </th>
36     <th>
37       Publisheddate
38     </th>
39     <th>
40       Planneddate
41     </th>
42     <th>
43       Notes
44     </th>
45   </tr>  
46 <!--TMPL_LOOP Name="information"-->
47   <tr>
48     <td>
49       <!--TMPL_VAR Name="serialseq"-->
50     </td>
51     <td>
52       <!--TMPL_VAR Name="status"-->
53     </td>
54     <td>
55       <!--TMPL_VAR Name="publisheddate"-->
56     </td>
57     <td>
58       <!--TMPL_VAR Name="planneddate"-->
59     </td>
60     <td>
61       <!--TMPL_VAR Name="notes"-->
62     </td>
63   </tr>  
64 <!--/TMPL_LOOP -->
65 </table>
66 <!--/TMPL_IF-->
67         <!-- TMPL_IF NAME="done_searched"-->
68 <h1>Serials subscriptions</h1>
69
70 <!-- TMPL_IF NAME="routing" -->
71         <h3>Search for Serial Routing List</h3>
72 <!-- /TMPL_IF -->
73
74     <table id="srlt">
75         <thead>
76         <tr>
77             <th>ISSN</th>
78             <th>Title</th>
79             <th> Notes </th>
80             <th>
81                 Library (Callnumber)
82             </th>
83             <!-- TMPL_IF NAME="routing" -->
84               <th >Routing list</th>
85             <!-- /TMPL_IF -->        
86             <th colspan="2">&nbsp;</th>
87         </tr>
88         </thead>
89         <tbody> 
90         <!-- TMPL_LOOP name="subscriptions" -->
91         <!-- TMPL_UNLESS name="__odd__" -->
92             <tr class="highlight">
93         <!-- TMPL_ELSE -->
94             <tr>
95         <!-- /TMPL_UNLESS -->
96                 <td>
97                 <!-- TMPL_IF name="issn" --><!-- TMPL_VAR name="issn" -->
98                 <!-- /TMPL_IF -->
99                 </td>
100                 <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 -->
101                     ---
102                 <!-- /TMPL_IF --></a>
103                 </td>
104                 <td><!-- TMPL_IF name="notes" --><!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
105                 <!-- TMPL_IF name="internalnotes" -->(<!-- TMPL_VAR name="internalnotes" -->)<!-- /TMPL_IF -->
106                 </td>
107                 <td>
108                 <!-- TMPL_IF name="branchcode" --><!-- TMPL_VAR name="branchcode" --><!-- /TMPL_IF -->
109                 <!-- TMPL_IF name="callnumber" -->(<!-- TMPL_VAR name="callnumber" -->)<!-- /TMPL_IF -->
110                 </td>
111                 <!-- TMPL_IF NAME="routing" -->
112                 <td>
113                 <!-- TMPL_IF NAME="cannotedit" -->
114                   &nbsp;        
115                 <!-- TMPL_ELSE -->
116                     <!--TMPL_IF Name="routingedit"-->
117                         <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Edit</a>
118                         <!-- TMPL_ELSE -->
119                                                 <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&amp;op=new">New</a>
120                                         <!--/TMPL_IF-->
121                 <!-- /TMPL_IF -->
122                 </td>
123                 <!-- /TMPL_IF -->
124                 <td><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Issue History</a>
125                 </td>
126                 <td>
127                 <!-- TMPL_IF NAME="cannotedit" -->
128                   &nbsp;        
129                 <!-- TMPL_ELSE -->
130                   <a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&amp;serstatus=1,3,7">Serial receive</a>
131                 <!-- /TMPL_IF -->
132                 </td>
133             </tr>
134         <!-- /TMPL_LOOP -->
135         </tbody>
136     </table>
137     
138         <!-- /TMPL_IF -->
139
140 </div>
141 </div>
142
143 <div class="yui-b">
144 <!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
145 </div>
146 </div>
147 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->