Bug 27846: (follow-up) Add id back to breadcrumbs container
[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
16 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17     <ol>
18         <li>
19             <a href="/cgi-bin/koha/mainpage.pl">Home</a>
20         </li>
21         <li>
22             <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
23         </li>
24         <li>
25             <a href="clubs.pl">Patron clubs</a>
26         </li>
27         <li>
28             <a href="#" aria-current="page">
29                 Club enrollments
30             </a>
31         </li>
32     </ol>
33 </nav>
34
35 <div class="main container-fluid">
36     <div class="row">
37         <div class="col-sm-10 col-sm-push-2">
38             <main>
39
40                 <h1>Club enrollments for <em>[% club.name | html %]</em></h1>
41
42                 <table id="enrollments-table">
43                     <thead>
44                         <tr>
45                             <th>Name</th>
46                             <th>Card number</th>
47                         </tr>
48                     </thead>
49
50                     <tbody>
51                         [% FOREACH e IN club.club_enrollments %]
52                             [% SET p = e.patron %]
53                             <tr>
54                                 <td>
55                                     <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% p.id | uri %]">[% p.surname | html %], [% p.firstname | html %]</a>
56                                 </td>
57                                 <td>
58                                     [% p.cardnumber | html %]
59                                 </td>
60                             </tr>
61                         [% END %]
62                     </tbody>
63                 </table>
64
65             </main>
66         </div> <!-- /.col-sm-10.col-sm-push-2 -->
67
68         <div class="col-sm-2 col-sm-pull-10">
69             <aside>
70                 [% INCLUDE 'tools-menu.inc' %]
71             </aside>
72         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
73      </div> <!-- /.row -->
74
75 [% MACRO jsinclude BLOCK %]
76     [% INCLUDE 'datatables.inc' %]
77     [% Asset.js("js/tools-menu.js") | $raw %]
78     <script>
79         $(document).ready(function() {
80             eTable = $('#enrollments-table').dataTable($.extend(true, {}, dataTablesDefaults, {
81                 "sPaginationType": "full",
82                 "sDom": 'C<"top pager"ilpf><"#filter_c">tr<"bottom pager"ip>',
83                 "aoColumnDefs": [
84                         { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
85                 ]
86             } ));
87         });
88     </script>
89 [% END %]
90
91 [% INCLUDE 'intranet-bottom.inc' %]