Bugzilla – Attachment 15468 Details for
Bug 9619
Replace YUI buttons on libraries administration page with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 9619 - Replace YUI buttons on libraries administration page with Bootstrap
PASSED-QA-Bug-9619---Replace-YUI-buttons-on-librar.patch (text/plain), 2.47 KB, created by
Katrin Fischer
on 2013-02-17 14:27:54 UTC
(
hide
)
Description:
[PASSED QA] Bug 9619 - Replace YUI buttons on libraries administration page with Bootstrap
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-02-17 14:27:54 UTC
Size:
2.47 KB
patch
obsolete
>From 32ec5e20a239a976601c372b8679b6736eba6f9a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 15 Feb 2013 10:30:19 -0500 >Subject: [PATCH] [PASSED QA] Bug 9619 - Replace YUI buttons on libraries > administration page with Bootstrap > >This patch converts the toolbar used by libraries administration >to Bootstrap, replacing YUI button and menu code >with Bootstrap markup. > >To test, view any the branches administration page and confirm >that the buttons to add a library and add a category look >correct and work correctly. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Comment: Both buttons, Library and Group, works and look well. No errors. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works nicely, no problems found. >--- > .../prog/en/modules/admin/branches.tt | 31 +++----------------- > 1 file changed, 4 insertions(+), 27 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index 2bfefb3..7cd4b65 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -58,33 +58,10 @@ tinyMCE.init({ > <div id="yui-main"> > <div class="yui-b"> > [% IF ( else ) %] >- <div id="toolbar"> >- <script type="text/javascript"> >- //<![CDATA[ >- >- // prepare DOM for YUI Toolbar >- >- $(document).ready(function() { >- yuiToolbar(); >- $.tablesorter.defaults.widgets = ['zebra']; >- $("#branchest").tablesorter({ >- sortList: [[0,0]], >- headers: { 3:{sorter:false},4:{sorter:false},5:{sorter:false},6:{sorter:false}} >- }).tablesorterPager({container: $("#pagerbranchest"),positionFixed: false,size: 10}); >- }); >- // YUI Toolbar Functions >- >- function yuiToolbar() { >- new YAHOO.widget.Button("newbranch"); >- new YAHOO.widget.Button("newcategory"); >- } >- >- //]]> >- </script> >- <ul class="toolbar"> >- <li><a id="newbranch" href="/cgi-bin/koha/admin/branches.pl?op=add">New library</a></li> >- <li><a id="newcategory" href="/cgi-bin/koha/admin/branches.pl?op=editcategory">New group</a></li> >-</ul></div> >+ <div id="toolbar" class="btn-toolbar"> >+ <a class="btn btn-small" id="newbranch" href="/cgi-bin/koha/admin/branches.pl?op=add"><i class="icon-plus"></i> New library</a> >+ <a class="btn btn-small" id="newcategory" href="/cgi-bin/koha/admin/branches.pl?op=editcategory"><i class="icon-plus"></i> New group</a> >+ </div> > [% END %] > > [% IF ( add ) %] >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9619
:
15366
|
15421
| 15468