Bug 8597 follow-up translation issues
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / serials-home.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 [% USE KohaDates %]
3 <title>Koha &rsaquo; Serials [% biblionumber %]</title>
4 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
5 [% INCLUDE 'doc-head-close.inc' %]
6 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7 [% INCLUDE 'datatables-strings.inc' %]
8 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
9 <script type="text/javascript">
10 //<![CDATA[
11  $(document).ready(function() {
12     var srlt = $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, {
13         "aoColumnDefs": [
14             { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
15         ],
16         "sPaginationType": "four_button"
17     } ) );
18
19     srlt.fnAddFilters("filter", 750);
20  });
21  //]]>
22 </script>
23 </head>
24 <body id="ser_serials-home" class="ser">
25 [% INCLUDE 'header.inc' %]
26 [% INCLUDE 'serials-search.inc' %]
27
28 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; [% IF ( done_searched ) %]<a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; Search results[% ELSE %]Serials [% END %] </div>
29
30 <div id="doc3" class="yui-t2">
31    
32    <div id="bd">
33         <div id="yui-main">
34         <div class="yui-b">
35         [% INCLUDE 'serials-toolbar.inc' %]
36         
37 [% IF ( information ) %]
38 Serials updated :
39 <table>
40   <tr>
41     <th>
42       Serialseq
43     </th>
44     <th>
45       Status
46     </th>
47     <th>
48       Published date
49     </th>
50     <th>
51       Planned date
52     </th>
53     <th>
54       Notes
55     </th>
56   </tr>  
57 [% FOREACH informatio IN information %]
58   <tr>
59     <td>
60       [% informatio.serialseq %]
61     </td>
62     <td>
63       [% informatio.status %]
64     </td>
65     <td>
66       [% informatio.publisheddate %]
67     </td>
68     <td>
69       [% informatio.planneddate %]
70     </td>
71     <td>
72       [% informatio.notes %]
73     </td>
74   </tr>  
75 [% END %]
76 </table>
77 [% END %]
78         [% IF ( done_searched ) %]
79 <h2>Serials subscriptions</h2>
80
81     <table id="srlt">
82         <thead>
83         <tr>
84             <th>ISSN</th>
85             <th>Title</th>
86             <th> Notes </th>
87             <th>Library</th>
88             <th>Call number</th>
89             <th>Expiration date</th>
90             [% IF ( routing && CAN_user_serials_routing ) %]
91               <th>Routing list</th>
92             [% END %]        
93             <th>&nbsp;</th>
94             <th>&nbsp;</th>
95         </tr>
96         </thead>
97     <tfoot>
98         <tr>
99             <td><input type="text" class="filter" data-column_num="0" placeholder="Search ISSN" /></td>
100             <td><input type="text" class="filter" data-column_num="1" placeholder="Search title" /></td>
101             <td><input type="text" class="filter" data-column_num="2" placeholder="Search notes" /></td>
102             <td><input type="text" class="filter" data-column_num="3" placeholder="Search library" /></td>
103             <td><input type="text" class="filter" data-column_num="4" placeholder="Search callnumber" /></td>
104             <td><input type="text" class="filter" data-column_num="5" placeholder="Search expiration date" /></td>
105             [% IF ( routing && CAN_user_serials_routing ) %]<td></td>[% END %]
106             <td></td>
107             <td></td>
108         </tr>
109     </tfoot>
110         <tbody> 
111         [% FOREACH subscription IN subscriptions %]
112             <tr>
113                 <td>
114                 [% IF ( subscription.issn ) %][% subscription.issn %]
115                 [% END %]
116                 </td>
117                 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title |html %]</a>
118                 </td>
119                 <td>[% IF ( subscription.notes ) %][% subscription.notes %][% END %]
120                 [% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %]
121                 </td>
122                 <td>
123                   [% IF ( subscription.branchname ) %][% subscription.branchname %][% END %]
124                 </td>
125                 <td>
126                   [% IF ( subscription.callnumber ) %][% subscription.callnumber %][% END %]
127                 </td>
128                 <td>
129                   [% IF ( subscription.enddate ) %][% subscription.enddate | $KohaDates %][% END %]
130                 </td>
131                 [% IF ( routing && CAN_user_serials_routing ) %]
132                 <td>
133                     [% IF ( subscription.cannotedit ) %]
134                         &nbsp;
135                     [% ELSE %]
136                         [% IF ( subscription.routingedit ) %]
137                             <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]">Edit</a>
138                             ([% subscription.routingedit %])
139                         [% ELSE %]
140                             <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]&amp;op=new">New</a>
141                         [% END %]
142                     [% END %]
143                 </td>
144                 [% END %]
145                 <td><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscription.subscriptionid %]">Issue history</a>
146                 </td>
147                 <td>
148                 [% IF ( subscription.cannotedit ) %]
149                   &nbsp;        
150                 [% ELSE %]
151                   [% IF ( CAN_user_serials_receive_serials ) %]<a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscription.subscriptionid %]&amp;serstatus=1,3,7">Serial receive</a>[% END %]
152                 [% END %]
153                 </td>
154             </tr>
155         [% END %]
156         </tbody>
157     </table>
158     
159         [% END %]
160
161 </div>
162 </div>
163
164 <div class="yui-b">
165 [% INCLUDE 'serials-menu.inc' %]
166 </div>
167 </div>
168 [% INCLUDE 'intranet-bottom.inc' %]