This patch converts the toolbar on the authority types administration
page to to Bootstrap, replacing YUI button code with Bootstrap markup.
To test, view the authority types administration page and confirm that
the "New authority type" button looks correct and works correctly.
---
.../prog/en/modules/admin/authtypes.tt | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt
b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt
index c87434e..dab813e 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt
@@ -42,9 +42,6 @@ function Check(f) {
}
}
-$(document).ready(function() {
- new YAHOO.widget.Button("authtype");
-});
//]]>
</script>
</head>
@@ -124,10 +121,9 @@ $(document).ready(function() {
[% IF ( else ) %]
-<div id="toolbar">
- <ul class="toolbar">
- <li><a id="authtype" href="[% script_name %]?op=add_form">New authority
type</a></li>
-</ul></div>
+<div id="toolbar" class="btn-toolbar">
+ <a id="authtype" class="btn btn-small" href="[% script_name
%]?op=add_form"><i class="icon-plus"></i> New authority type</a>
+</div>
<h1>Authority types</h1>
<p>Define authority types, then authority MARC structure in the same way you
define itemtypes and biblio MARC tag structure. Authority values are managed
through plugins</p>
--
1.7.9.5
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/