From 57a577c815ee0c4e313de8eaf64e076a062aec42 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 27 Jun 2017 11:42:44 +1200 Subject: [PATCH] Bug 18857 - Add buttons to left hand side of circ rules table To test: * Apply this patch * Define some rules in the interface using the left hand buttons * Define some rules in the interface using the right hand buttons (scroll to see) * Delete some rules in the interface using the left hand buttons * Delete some rules in the interface using the right hand buttons (scroll to see) * Choose a rule to edit using the left hand buttons * Edit the rule, saving using the left hand button * Edit a rule, but clear the values using the left hand buttons * Choose a rule to edit using the right hand buttons (scroll to see) * Edit the rule, saving using the right hand buttons (scroll to see) * Edit a rule, but clear the values using the right hand buttons (scroll to see) Signed-off-by: Guillaume Signed-off-by: Nick Clemens --- .../intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index 0283d80..484aba0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -168,6 +168,7 @@ $(document).ready(function() { Patron category Item type + Actions Current checkouts allowed Current on-site checkouts allowed Loan period @@ -211,6 +212,11 @@ $(document).ready(function() { [% rule.translated_description %] [% END %] + + Edit + Delete + + [% IF ( rule.unlimited_maxissueqty ) %] Unlimited [% ELSE %] @@ -295,7 +301,8 @@ $(document).ready(function() { Edit Delete - + + [% END %] @@ -315,6 +322,11 @@ $(document).ready(function() { [% END %] + + + + + @@ -395,6 +407,7 @@ $(document).ready(function() { Patron category Item type +   Current checkouts allowed Current on-site checkouts allowed Loan period @@ -420,7 +433,7 @@ $(document).ready(function() { Item level holds Article requests Rental discount (%) -   +   -- 2.1.4