From cd33c99b6fb7236b55ad497c86e251398e82494d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 22 Feb 2013 10:26:53 -0500 Subject: [PATCH] [PASSED QA] Bug 9697 - Replace YUI buttons on the patron cards batch edit page with Bootstrap The patron card creator's batch edit page uses an include file to display buttons styled by YUI. Bootstrap should be used instead. This patch moves the contents of the include file into the main template, this being the only page which requires it. YUI markup and code has been removed and Bootstrap markup is added. The include file is deleted. To test, edit a batch of patrons in the patron card creator. Each toolbar button should look correct and work correctly: - Add item(s) - Remove item(s) - Delete batch - Remove duplicates (Keeping Bug 9535 in mind) - Export item(s) - Export batch Signed-off-by: Bernardo Gonzalez Kriegel Comment: all buttons works and look well. No errors. Signed-off-by: Katrin Fischer Will fix some smaller things in a QA follow up. Works as expected. --- .../en/includes/patroncards-batches-toolbar.inc | 179 -------------------- .../prog/en/modules/patroncards/edit-batch.tt | 136 ++++++++++++++- 2 files changed, 135 insertions(+), 180 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc deleted file mode 100644 index 226210c..0000000 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc +++ /dev/null @@ -1,179 +0,0 @@ -
- - -
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt index 7a0811b..51b585a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt @@ -2,6 +2,130 @@ Koha › Tools › Patron card creator › Manage patron card batches [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'greybox.inc' %] + [% INCLUDE 'header.inc' %] @@ -17,7 +141,17 @@
- [% INCLUDE 'patroncards-batches-toolbar.inc' %] + + + + [% INCLUDE 'error-messages.inc' %]
-- 1.7.9.5