1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Tools › Patron lists</title>
3 [% INCLUDE 'doc-head-close.inc' %]
5 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
6 [% INCLUDE 'datatables.inc' %]
8 <script type="text/javascript">
10 $(document).ready(function() {
11 $('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, {
13 { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
18 function ConfirmDelete( list ) {
19 return confirm( _("Are you sure you want to delete the list ") + list + "?" );
27 [% INCLUDE 'header.inc' %]
28 [% INCLUDE 'cat-search.inc' %]
29 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › Patron lists</div>
32 <div class="yui-main">
33 <h1>Your patron lists</h1>
35 <div class="btn-group">
36 <a class="btn btn-small" href="add-modify.pl"><i class="icon-plus"></i> New patron list</a>
39 <table id="patron-lists-table">
43 <th>Patrons in list</th>
51 [% FOREACH l IN lists %]
54 <td>[% l.patron_list_patrons.size || 0 %]</td>
56 <a class="btn btn-mini" href="list.pl?patron_list_id=[% l.patron_list_id %]">
57 <i class="icon-plus-sign"></i> Add patrons <i class="icon-user"></i>
61 <a class="btn btn-mini" href="add-modify.pl?patron_list_id=[% l.patron_list_id %]">
62 <i class="icon-edit"></i> Edit
66 <a class="btn btn-mini" href="delete.pl?patron_list_id=[% l.patron_list_id %]" onclick='return ConfirmDelete("[% l.name | html %]")'>
67 <i class="icon-trash"></i> Delete
76 [% INCLUDE 'intranet-bottom.inc' %]