From 2f4f8bfe7a34752200b72bdebdb1b703a4af2875 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 19 Feb 2013 16:14:52 -0500 Subject: [PATCH] [PASSED QA] Bug 9649 - Replace YUI buttons on cataloging home page with Bootstrap This patch converts the buttons on the cataloging home page to Bootstrap, replacing the YUI button and menu code with Bootstrap markup. This patch moves the functionality of cataloging-toolbar.inc into addbooks.tt since it is the only place where the include was used. cataloging-toolbar.inc is removed. To test, view the cataloging home page. Buttons and menus should look correct and work correctly. Signed-off-by: Bernardo Gonzalez Kriegel Comment: Buttons look and work well. No errors. Please sign Bug 3549 Signed-off-by: Katrin Fischer Works nicely, no problems found. --- .../prog/en/includes/cataloging-toolbar.inc | 78 -------------------- .../prog/en/modules/cataloguing/addbooks.tt | 43 ++++++++++- 2 files changed, 39 insertions(+), 82 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-toolbar.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-toolbar.inc deleted file mode 100644 index 4e24221..0000000 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-toolbar.inc +++ /dev/null @@ -1,78 +0,0 @@ - - -
- - -
-
- - - -
- Z39.50 search - -
-
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index 85ee254..de597f2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -3,9 +3,31 @@ [% INCLUDE 'greybox.inc' %] [% INCLUDE 'doc-head-close.inc' %] @@ -19,7 +41,20 @@
-[% IF ( CAN_user_editcatalogue_edit_catalogue ) %][% INCLUDE 'cataloging-toolbar.inc' %][% END %] +[% IF ( CAN_user_editcatalogue_edit_catalogue ) %] +
+
+ + +
+ +
+[% END %] [% IF ( noitemsfound ) %] No results found -- 1.7.9.5