From c2d008eb4b01a280662d79f93c6ad469228241d7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 22 Feb 2013 10:26:53 -0500 Subject: [PATCH] Bug 9697 - Replace YUI buttons on the patron cards batch edit page with Bootstrap Content-Type: text/plain; charset="utf-8" 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 --- .../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