From ad4b899fd4fe51377de23eed8f20d8149d604e62 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 Content-Type: text/plain; charset="utf-8" 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. --- .../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