From 1fa55ea456ff02d3658f151e7c8430b63a8ab1b0 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 21 Feb 2013 14:37:18 -0500 Subject: [PATCH] [PASSED QA] Bug 9675 - Replace YUI buttons on authorities home page with Bootstrap This patch converts the toolbar include file used by the authorities home page and authority view page (authorities-home.pl and authorities/detail.pl) replacing YUI button and menu code with Bootstrap. To test: - View the authorities home page and confirm that the "New authority" button looks correct and works correctly. - Search for an existing authority and click the "Details" link to view. "Edit," "Delete," "Save," and "New authority" buttons should look correct and work correctly. The "Delete" button should only appear for authorities which are unused. Signed-off-by: Bernardo Gonzalez Kriegel Comment: Now it works. New and all operations on existing auth works. No errors. Signed-off-by: Katrin Fischer Works nicely, no problems found. --- .../prog/en/includes/authorities-toolbar.inc | 109 +++++++------------- 1 file changed, 35 insertions(+), 74 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc index ec216bd..e25f49f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc @@ -1,82 +1,43 @@ -
+
- //]]> - -
- -[% IF ( authid ) %] Edit - +[% IF ( authid ) %] + [% UNLESS ( count ) %] - Delete + [% END %] - Save -[% ELSE %] [% END %] - - - - - -
+ +
+ New authority + + + +
-- 1.7.9.5