[Koha-patches] [PATCH] Bug 9689 - Replace YUI buttons on the OAI sets administration page with Bootstrap
Owen Leonard
oleonard at myacpl.org
Thu Feb 21 22:13:45 CET 2013
This patch converts the toolbar on the OAI sets administration page to
Bootstrap, replacing YUI button code with Bootstrap markup.
To test, view the OAI sets administration page and confirm that the "New
set" button looks correct and works correctly.
---
.../prog/en/modules/admin/oai_sets.tt | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt
index bd5d54a..a480b74 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt
@@ -16,10 +16,6 @@ function delDescField(minusButton) {
var li = $(minusButton).parent('li');
$(li).remove();
}
-
-$(document).ready(function() {
- new YAHOO.widget.Button("newoaiset");
-});
//]]>
</script>
</head>
@@ -72,10 +68,9 @@ $(document).ready(function() {
</form>
[% ELSE %]
- <div id="toolbar">
- <ul class="toolbar">
- <li><a id="newoaiset" href="/cgi-bin/koha/admin/oai_sets.pl?op=new">New set</a></li>
- </ul></div>
+ <div id="toolbar" class="btn-toolbar">
+ <a class="btn btn-small" id="newoaiset" href="/cgi-bin/koha/admin/oai_sets.pl?op=new"><i class="icon-plus"></i> New set</a>
+ </div>
<h2>OAI sets</h2>
[% IF sets_loop %]
--
1.7.9.5
More information about the Koha-patches
mailing list