first go at moving templates to a modules/ dir
[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
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-serials.inc" -->
7
8
9 <!--TMPL_IF Name="information"-->
10 <div id="information">
11 Serials updated :
12 <table>
13   <tr>
14     <th>
15       Serialseq
16     </th>
17     <th>
18       Status
19     </th>
20     <th>
21       Publisheddate
22     </th>
23     <th>
24       Planneddate
25     </th>
26     <th>
27       Notes
28     </th>
29   </tr>  
30 <!--TMPL_LOOP Name="information"-->
31   <tr>
32     <td>
33       <!--TMPL_VAR Name="serialseq"-->
34     </td>
35     <td>
36       <!--TMPL_VAR Name="status"-->
37     </td>
38     <td>
39       <!--TMPL_VAR Name="publisheddate"-->
40     </td>
41     <td>
42       <!--TMPL_VAR Name="planneddate"-->
43     </td>
44     <td>
45       <!--TMPL_VAR Name="notes"-->
46     </td>
47   </tr>  
48 <!--/TMPL_LOOP -->
49 </table>
50 </div>
51 <!--/TMPL_IF-->
52 <h1>Serials subscription</h1>
53 <div id="serials_home">
54         <h2>Search existing subscription</h2>
55 <!-- TMPL_IF NAME="routing" -->
56         <h3>Search for Serial Routing List</h3>
57 <!-- /TMPL_IF -->
58
59     <table>
60         <tr>
61             <th>ISSN</th>
62             <th>Title</th>
63             <th>
64                 Note
65             </th>
66             <th>
67                 Branch
68             </th>
69             <!-- TMPL_IF NAME="routing" -->
70               <th colspan=3>&nbsp;</th>
71             <!-- TMPL_ELSE -->
72               <th colspan=2>&nbsp;</th>
73             <!-- /TMPL_IF -->        
74         </tr>
75         <tr>
76             <form action="/cgi-bin/koha/serials/serials-home.pl" method="get">
77             <!-- TMPL_IF NAME="routing" -->
78                 <input type="hidden" name="routing" value="<!-- TMPL_VAR NAME="routing" -->" />
79             <!-- /TMPL_IF -->
80             <input type="hidden" name="searched" value="1" />
81             <td>
82                 <input type="text" size=10 maxlength=11 name="ISSN_filter" value="<!-- TMPL_VAR name="ISSN_filter" -->" title="type ISSN here to filter subscription">
83             </td>
84             <td>
85                 <input type="text" size=40 maxlength=40 name="title_filter" value="<!-- TMPL_VAR name="title_filter" -->" title="type a title -complete or partial- to filter subscription" />
86             </td>
87             <td colspan="2">
88                 &nbsp;
89             </td>
90             <td colspan="2">
91                 <input type="submit" value="filter" class="button serial" title="set a filter on ISSN / title">
92             </td>
93         </tr>
94         <!-- TMPL_IF NAME="done_searched"-->
95         <!-- TMPL_LOOP name="subscriptions" -->
96             <tr>
97                 <!-- TMPL_IF name="toggle" -->
98                     <td class="hilighted">
99                 <!-- TMPL_ELSE -->
100                     <td>
101                 <!-- /TMPL_IF -->
102                 <!-- TMPL_IF name="issn" -->
103                     <a href="/cgi-bin/koha/serials/serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" title="Issues history"><!-- TMPL_VAR name="issn" --></a>
104                 <!-- /TMPL_IF -->
105                 </td>
106                 <!-- TMPL_IF name="toggle" -->
107                     <td class="hilighted">
108                 <!-- TMPL_ELSE -->
109                     <td>
110                 <!-- /TMPL_IF -->
111                 <!-- TMPL_IF name="title" -->
112                     <!-- TMPL_VAR name="title" -->
113                 <!-- TMPL_ELSE -->
114                     |
115                 <!-- /TMPL_IF -->
116                 </td>
117                 <!-- TMPL_IF name="toggle" -->
118                     <td class="hilighted">
119                 <!-- TMPL_ELSE -->
120                     <td>
121                 <!-- /TMPL_IF -->
122                 <!-- TMPL_IF name="notes" --><p><!-- TMPL_VAR name="notes" --></p><!-- /TMPL_IF -->
123                 <!-- TMPL_IF name="callnumber" --><p><!-- TMPL_VAR name="callnumber" --></p><!-- /TMPL_IF -->
124                 </td>
125                 <!-- TMPL_IF name="toggle" -->
126                     <td class="hilighted">
127                 <!-- TMPL_ELSE -->
128                     <td>
129                 <!-- /TMPL_IF -->
130                 <!-- TMPL_IF name="branchcode" --><!-- TMPL_VAR name="branchcode" --><!-- /TMPL_IF -->
131                 </td>
132                 <!-- TMPL_IF NAME="routing" -->
133                     <!-- TMPL_IF name="toggle" -->
134                         <td class="hilighted">
135                     <!-- TMPL_ELSE -->
136                         <td>
137                     <!-- /TMPL_IF -->
138                         <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" --><!-- TMPL_UNLESS NAME="routingedit" -->&op=new<!-- /TMPL_UNLESS -->">Routing List</a>
139                     </td>
140                 <!-- /TMPL_IF -->
141                 <!-- TMPL_IF name="toggle" -->
142                     <td class="hilighted">
143                 <!-- TMPL_ELSE -->
144                     <td>
145                 <!-- /TMPL_IF -->
146                     <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button serial" title="subscription detail">Detail</a>
147                 </td>
148                 <!-- TMPL_IF name="toggle" -->
149                     <td class="hilighted">
150                 <!-- TMPL_ELSE -->
151                     <td>
152                 <!-- /TMPL_IF -->
153                   <a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&amp;serstatus=1,3">Serial receive</a>
154                 </td>
155             </tr>
156         <!-- /TMPL_LOOP -->
157         <!-- /TMPL_IF -->
158     </table>
159     
160     <!-- TMPL_IF NAME="routing" -->
161     <!-- TMPL_ELSE -->
162         <h2>Add a new subscription</h2>
163         <div id="action">
164             <a href="/cgi-bin/koha/serials/subscription-add.pl" class="button serial">
165                 Add subscription
166             </a>
167         </div>
168     <!-- /TMPL_IF -->
169 </div>
170 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
171