Modifications to enable YUI-Grids layout structure. Unfinished.
[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 <!-- TMPL_INCLUDE NAME="header.inc" -->
5 <!-- TMPL_INCLUDE NAME="menu-serials.inc" -->
6
7 <div id="doc3" class="yui-t2">
8    
9    <div id="bd">
10         <div id="yui-main">
11         <div class="yui-b"><div class="yui-g">
12
13 <!--TMPL_IF Name="information"-->
14 Serials updated :
15 <table>
16   <tr>
17     <th>
18       Serialseq
19     </th>
20     <th>
21       Status
22     </th>
23     <th>
24       Publisheddate
25     </th>
26     <th>
27       Planneddate
28     </th>
29     <th>
30       Notes
31     </th>
32   </tr>  
33 <!--TMPL_LOOP Name="information"-->
34   <tr>
35     <td>
36       <!--TMPL_VAR Name="serialseq"-->
37     </td>
38     <td>
39       <!--TMPL_VAR Name="status"-->
40     </td>
41     <td>
42       <!--TMPL_VAR Name="publisheddate"-->
43     </td>
44     <td>
45       <!--TMPL_VAR Name="planneddate"-->
46     </td>
47     <td>
48       <!--TMPL_VAR Name="notes"-->
49     </td>
50   </tr>  
51 <!--/TMPL_LOOP -->
52 </table>
53 <!--/TMPL_IF-->
54 <h1>Serials subscription</h1>
55 <h2>Search existing subscription</h2>
56 <!-- TMPL_IF NAME="routing" -->
57         <h3>Search for Serial Routing List</h3>
58 <!-- /TMPL_IF -->
59
60     <table>
61         <tr>
62             <th>ISSN</th>
63             <th>Title</th>
64             <th>
65                 Note
66             </th>
67             <th>
68                 Branch
69             </th>
70             <!-- TMPL_IF NAME="routing" -->
71               <th colspan="3">&nbsp;</th>
72             <!-- TMPL_ELSE -->
73               <th colspan="2">&nbsp;</th>
74             <!-- /TMPL_IF -->        
75         </tr>
76         <tr>
77             <form action="/cgi-bin/koha/serials/serials-home.pl" method="get">
78             <!-- TMPL_IF NAME="routing" -->
79                 <input type="hidden" name="routing" value="<!-- TMPL_VAR NAME="routing" -->" />
80             <!-- /TMPL_IF -->
81             <input type="hidden" name="searched" value="1" />
82             <td>
83                 <input type="text" size="10" maxlength="11" name="ISSN_filter" value="<!-- TMPL_VAR name="ISSN_filter" -->" title="type ISSN here to filter subscription" />
84             </td>
85             <td>
86                 <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" />
87             </td>
88             <td colspan="2">
89                 &nbsp;
90             </td>
91             <td colspan="2">
92                 <input type="submit" value="filter" class="button serial" title="set a filter on ISSN / title" />
93             </td>
94         </tr>
95         <!-- TMPL_IF NAME="done_searched"-->
96         <!-- TMPL_LOOP name="subscriptions" -->
97             <tr>
98                 <!-- TMPL_IF name="toggle" -->
99                     <td class="hilighted">
100                 <!-- TMPL_ELSE -->
101                     <td>
102                 <!-- /TMPL_IF -->
103                 <!-- TMPL_IF name="issn" -->
104                     <a href="/cgi-bin/koha/serials/serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" title="Issues history"><!-- TMPL_VAR name="issn" --></a>
105                 <!-- /TMPL_IF -->
106                 </td>
107                 <!-- TMPL_IF name="toggle" -->
108                     <td class="hilighted">
109                 <!-- TMPL_ELSE -->
110                     <td>
111                 <!-- /TMPL_IF -->
112                 <!-- TMPL_IF name="title" -->
113                     <!-- TMPL_VAR name="title" -->
114                 <!-- TMPL_ELSE -->
115                     |
116                 <!-- /TMPL_IF -->
117                 </td>
118                 <!-- TMPL_IF name="toggle" -->
119                     <td class="hilighted">
120                 <!-- TMPL_ELSE -->
121                     <td>
122                 <!-- /TMPL_IF -->
123                 <!-- TMPL_IF name="notes" -->(<!-- TMPL_VAR name="notes" -->)<!-- /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" -->&amp;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 </div>
171 </div>
172
173 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
174 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->