From 5347a48ce5d06b4e3b8212b4aab96c47a78c48c1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 21 Feb 2013 14:37:18 -0500 Subject: [PATCH] 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. Signed-off-by: Jared Camins-Esakov --- .../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 ec216bd54b..e25f49f4ed 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 + + + +
-- 2.39.5