From 9c5796de726c26965145124ae97675ba401c1c4e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sun, 3 Feb 2013 09:33:45 -0500 Subject: [PATCH] Bug 9637 - Replace YUI button on local use system preferences page with Bootstrap This patch converts the toolbar on the local use system preferences page to Bootstrap, replacing YUI button code with Bootstrap markup. To test, view the local use system preferences page (the "local use" tab on the main System preferences page) and confirm that the "New preference" button looks correct and works correctly. Signed-off-by: Bernardo Gonzalez Kriegel Comment: Works and looks very well. No errors. Signed-off-by: Katrin Fischer Works nicely, no problems found. Signed-off-by: Jared Camins-Esakov Removed incorrect Javascript comment about YUI. --- .../en/modules/admin/systempreferences.tt | 40 +++++++++---------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt index 8e69259b9f..51e7b8e4fe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt @@ -70,8 +70,21 @@ return false; } ).nextAll( 'textarea, input[type=submit]' ).hide(); } ); + //]]> +[% IF ( else ) %] + + +[% END %] [% INCLUDE 'header.inc' %] @@ -240,28 +253,11 @@ [% END %] [% IF ( else ) %] - -
- - -
- + + +

System preferences admin

[% tab %] preferences

[% searchfield %]