From ba3c7481812fbb8776c3f95320dea0f82f3b7c83 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 19 Feb 2013 16:14:52 -0500 Subject: [PATCH] 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. Signed-off-by: Jared Camins-Esakov --- .../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 4e2422175a..0000000000 --- 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 85ee254f44..de597f2cd9 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 -- 2.39.5