Lines 11-17
Link Here
|
11 |
$('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, { |
11 |
$('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, { |
12 |
"autoWidth": false, |
12 |
"autoWidth": false, |
13 |
"aoColumnDefs": [ |
13 |
"aoColumnDefs": [ |
14 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
14 |
{ "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] } |
15 |
], |
15 |
], |
16 |
"sPaginationType": "four_button" |
16 |
"sPaginationType": "four_button" |
17 |
} )); |
17 |
} )); |
Lines 50-62
Link Here
|
50 |
<tr> |
50 |
<tr> |
51 |
<th>Name</th> |
51 |
<th>Name</th> |
52 |
<th>Patrons in list</th> |
52 |
<th>Patrons in list</th> |
53 |
<th> </th> |
53 |
<th class="NoSort"> </th> |
54 |
[% IF CAN_user_tools_edit_patrons %] |
|
|
55 |
<th> </th> |
56 |
[% END %] |
57 |
[% IF CAN_user_tools_delete_anonymize_patrons %] |
58 |
<th> </th> |
59 |
[% END %] |
60 |
</tr> |
54 |
</tr> |
61 |
</thead> |
55 |
</thead> |
62 |
|
56 |
|
Lines 72-97
Link Here
|
72 |
</a> |
66 |
</a> |
73 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="listactions[% l.patron_list_id %]"> |
67 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="listactions[% l.patron_list_id %]"> |
74 |
<li><a href="/cgi-bin/koha/patron_lists/list.pl?patron_list_id=[% l.patron_list_id %]"><i class="fa fa-user"></i> Add patrons</a></li> |
68 |
<li><a href="/cgi-bin/koha/patron_lists/list.pl?patron_list_id=[% l.patron_list_id %]"><i class="fa fa-user"></i> Add patrons</a></li> |
75 |
<li><a href="/cgi-bin/koha/patron_lists/add-modify.pl?patron_list_id=[% l.patron_list_id %]"><i class="fa fa-edit"></i> Edit</a></li> |
69 |
<li><a href="/cgi-bin/koha/patron_lists/add-modify.pl?patron_list_id=[% l.patron_list_id %]"><i class="fa fa-pencil"></i> Edit list</a></li> |
76 |
<li><a href="/cgi-bin/koha/patron_lists/delete.pl?patron_list_id=[% l.patron_list_id %]" onclick='return ConfirmDelete("[% l.name %]")'><i class="fa fa-trash"></i> Delete</a></li> |
70 |
<li><a href="/cgi-bin/koha/patron_lists/delete.pl?patron_list_id=[% l.patron_list_id %]" onclick='return ConfirmDelete("[% l.name %]")'><i class="fa fa-trash"></i> Delete list</a></li> |
77 |
<li><a href="#" onclick='GB_showCenter(_("Print patron cards from list"), "/cgi-bin/koha/patroncards/print.pl?patronlist_id=[% l.patron_list_id %]", 400, 800);return false;'><i class="fa fa-print"></i> Print patron cards</a></li> |
71 |
[% IF ( l.patron_list_patrons_rs.count ) %] |
|
|
72 |
<li class="divider"></li> |
73 |
<li><a href="#" onclick='GB_showCenter(_("Print patron cards from list"), "/cgi-bin/koha/patroncards/print.pl?patronlist_id=[% l.patron_list_id %]", 400, 800);return false;'><i class="icon-print"></i> Print patron cards</a></li> |
74 |
[% IF CAN_user_tools_edit_patrons %] |
75 |
<li> |
76 |
<a href="/cgi-bin/koha/tools/modborrowers.pl?patron_list_id=[% l.patron_list_id %]&op=show"> |
77 |
<i class="fa fa-pencil"></i> Batch edit patrons</i> |
78 |
</a> |
79 |
</li> |
80 |
[% END %] |
81 |
[% IF CAN_user_tools_delete_anonymize_patrons %] |
82 |
<li> |
83 |
<a href="/cgi-bin/koha/tools/cleanborrowers.pl?step=2&patron_list_id=[% l.patron_list_id %]&checkbox=borrower"> |
84 |
<i class="fa fa-trash"></i> Batch delete patrons</i> |
85 |
</a> |
86 |
</li> |
87 |
[% END %] |
88 |
[% END %] |
78 |
</ul> |
89 |
</ul> |
79 |
</div> |
90 |
</div> |
80 |
</td> |
91 |
</td> |
81 |
[% IF CAN_user_tools_edit_patrons %] |
|
|
82 |
<td> |
83 |
<a class="btn btn-mini" href="/cgi-bin/koha/tools/modborrowers.pl?patron_list_id=[% l.patron_list_id %]&op=show"> |
84 |
<i class="fa fa-edit"></i> Edit patrons</i> |
85 |
</a> |
86 |
</td> |
87 |
[% END %] |
88 |
[% IF CAN_user_tools_delete_anonymize_patrons %] |
89 |
<td> |
90 |
<a class="btn btn-mini" href="/cgi-bin/koha/tools/cleanborrowers.pl?step=2&patron_list_id=[% l.patron_list_id %]&checkbox=borrower"> |
91 |
<i class="fa fa-trash"></i> Delete patrons</i> |
92 |
</a> |
93 |
</td> |
94 |
[% END %] |
95 |
</tr> |
92 |
</tr> |
96 |
[% END %] |
93 |
[% END %] |
97 |
</tbody> |
94 |
</tbody> |
Lines 106-109
Link Here
|
106 |
[% INCLUDE 'tools-menu.inc' %] |
103 |
[% INCLUDE 'tools-menu.inc' %] |
107 |
</div> |
104 |
</div> |
108 |
</div> |
105 |
</div> |
109 |
[% INCLUDE 'intranet-bottom.inc' %] |
106 |
[% INCLUDE 'intranet-bottom.inc' %] |
110 |
- |
|
|