merging 2.2 branch with head. Sorry for not making it before, many many commits done...
[koha.git] / koha-tmpl / intranet-tmpl / npl / en / reports / itemtypes.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Reports<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
3 <!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
4 <div id="main">
5 <!-- TMPL_IF name="do_it" -->
6 <!-- TMPL_LOOP name="mainloop" -->
7         <div class="table"><table>
8         <caption>Item counts <!--TMPL_IF name="branch" --> for <!-- TMPL_VAR name="branch" --><!-- /TMPL_IF --></caption>
9                 <tr>
10                         <th>Item Type</th>
11                         <th>Item Count</th>
12                 </tr>
13                         <!-- TMPL_LOOP name="loopitemtype" -->
14                                 <tr>
15                                         <td><!-- TMPL_VAR name="itemtype" --></td>
16                                         <td><!-- TMPL_VAR name="count" --></td>
17                                 </tr>
18                         <!-- /TMPL_LOOP name="loopitemtype" -->
19                         <tr>
20                                 <th>TOTAL</th>
21                                 <th><!-- TMPL_VAR name="total" --></th>
22         </table></div>
23 <!-- /TMPL_LOOP -->
24 <!-- TMPL_ELSE -->
25         <h1>Item Type Report</h1>
26         <div class="form">
27         <h3>View a count of items with each item type</h3>
28         <form method="post">
29                 Select a branch (leave blank to show all branches) <!-- TMPL_VAR name="CGIbranch" -->
30                 <input type="submit" value="Submit" class="submit" />
31                 <input type="hidden" name="report_name" value="<!--TMPL_VAR name="report_name" -->" />
32                 <input type="hidden" name="do_it" value="1" />
33         </form>
34 <!-- /TMPL_IF -->
35 </div>
36 </div>
37 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->