Bug 25744: Replace <i> with <em> in staff interface
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / clubs / club-enrollments.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE KohaDates %]
4 [% USE Branches %]
5 [% USE Koha %]
6 [% SET footerjs = 1 %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Koha &rsaquo; Tools &rsaquo; Patron clubs &rsaquo; Club enrollments</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 </head>
11
12 <body id="club_enrollments" class="clubs">
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'cat-search.inc' %]
15 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="clubs.pl">Patron clubs</a> &rsaquo; Club enrollments</div>
16
17 <div class="main container-fluid">
18     <div class="row">
19         <div class="col-sm-10 col-sm-push-2">
20             <main>
21
22                 <h1>Club enrollments for <em>[% club.name | html %]</em></h1>
23
24                 <table id="enrollments-table">
25                     <thead>
26                         <tr>
27                             <th>Name</th>
28                             <th>Card number</th>
29                         </tr>
30                     </thead>
31
32                     <tbody>
33                         [% FOREACH e IN club.club_enrollments %]
34                             [% SET p = e.patron %]
35                             <tr>
36                                 <td>
37                                     <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% p.id | uri %]">[% p.surname | html %], [% p.firstname | html %]</a>
38                                 </td>
39                                 <td>
40                                     [% p.cardnumber | html %]
41                                 </td>
42                             </tr>
43                         [% END %]
44                     </tbody>
45                 </table>
46
47             </main>
48         </div> <!-- /.col-sm-10.col-sm-push-2 -->
49
50         <div class="col-sm-2 col-sm-pull-10">
51             <aside>
52                 [% INCLUDE 'tools-menu.inc' %]
53             </aside>
54         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
55      </div> <!-- /.row -->
56
57 [% MACRO jsinclude BLOCK %]
58     [% INCLUDE 'datatables.inc' %]
59     [% Asset.js("js/tools-menu.js") | $raw %]
60     <script>
61         $(document).ready(function() {
62             eTable = $('#enrollments-table').dataTable($.extend(true, {}, dataTablesDefaults, {
63                 "sPaginationType": "full",
64                 "sDom": 'C<"top pager"ilpf><"#filter_c">tr<"bottom pager"ip>',
65                 "aoColumnDefs": [
66                         { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
67                 ]
68             } ));
69         });
70     </script>
71 [% END %]
72
73 [% INCLUDE 'intranet-bottom.inc' %]