This patch converts the toolbar on the currencies administration page to
Bootstrap, replacing YUI button code with Bootstrap markup.
To test, view the currencies and exchange rates administration page. The
'New currency' button should look correct and work correctly.
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Work and look correctly. No errors
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely, no problems found.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
}
$(document).ready(function() {
- new YAHOO.widget.Button("newcurrency");
-
// prevents users to check active with a currency != 1
$("#rate").keyup(function() {
check_currency( $(this).val() );
<div class="yui-b">
[% IF ( else ) %]
-<div id="toolbar">
- <ul class="toolbar">
- <li><a id="newcurrency" href="[% script_name %]?op=add_form">New currency</a></li>
-</ul></div>
+<div id="toolbar" class="btn-toolbar">
+ <a class="btn btn-small" id="newcurrency" href="[% script_name %]?op=add_form"><i class="icon-plus"></i> New currency</a>
+</div>
[% END %]
[% IF ( add_form ) %]