From 064e9ce35c83a5db6b1644a5634b781c14fc56b7 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Wed, 10 Feb 2016 20:43:27 +0000 Subject: [PATCH] Bug 13778: Putting patron lists buttons into a dropdown menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To test: 1) Go to Tools -> Patron lists 2) If there are no lists, confirm there is a message box saying 'There are no patron lists.' 3) Create a list if you do not already have one. 4) Confirm that in the 'Actions' drop down menu next to the list, the options to 'Add patrons', 'Edit', 'Delete', and 'Print patron cards' are all there and work as expected. Sponsored-by: Catalyst IT Signed-off-by: Marc VĂ©ron Signed-off-by: Kyle M Hall --- .../prog/en/modules/patron_lists/lists.tt | 39 ++++++++++------------ 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt index 50c7213..ae875e7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt @@ -11,7 +11,7 @@ $('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, { "autoWidth": false, "aoColumnDefs": [ - { "aTargets": [ -1, -2, -3, -4 ], "bSortable": false, "bSearchable": false }, + { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, ], "sPaginationType": "four_button" } )); @@ -38,15 +38,14 @@ New patron list + [% IF ( lists ) %] + - - - @@ -56,29 +55,25 @@ - - - [% END %]
Name Patrons in list     
[% l.name %] [% l.patron_list_patrons_rs.count || 0 %] - - Add patrons - - - - Edit - - - - Delete - - - - Print patron cards - +
+ [% ELSE %] +
There are no patron lists.
+ [% END %] [% INCLUDE 'intranet-bottom.inc' %] -- 2.1.4