Bugzilla – Attachment 15471 Details for
Bug 9641
Replace YUI button on the Koha news management page with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 9641 - Replace YUI button on the Koha news management page with Bootstrap
PASSED-QA-Bug-9641---Replace-YUI-button-on-the-Koh.patch (text/plain), 1.94 KB, created by
Katrin Fischer
on 2013-02-17 14:55:29 UTC
(
hide
)
Description:
[PASSED QA] Bug 9641 - Replace YUI button on the Koha news management page with Bootstrap
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-02-17 14:55:29 UTC
Size:
1.94 KB
patch
obsolete
>From 8727117e924831cec84168c6fe6ff3a97c62320d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sat, 2 Feb 2013 13:33:39 -0500 >Subject: [PATCH] [PASSED QA] Bug 9641 - Replace YUI button on the Koha news > management page with Bootstrap > >This patch converts the toolbar include file used by the Koha news >editor to Bootstrap, replacing YUI button and menu code with Bootstrap >markup. > >To test, open the Koha news editor and test the "New entry" button. It >sould look correct and work correctly. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Comment: The button works and looks correct. No errors. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works nicely, no problems found. >--- > .../prog/en/modules/tools/koha-news.tt | 21 ++++---------------- > 1 file changed, 4 insertions(+), 17 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >index 195dcef..d84f8c5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >@@ -55,24 +55,11 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div> > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> >- >+ > [% UNLESS ( add_form ) %] >-<div id="toolbar"> >- <script type="text/javascript"> >- //<![CDATA[ >- // prepare DOM for YUI Toolbar >- $(document).ready(function() { >- yuiToolbar(); >- }); >- // YUI Toolbar Functions >- function yuiToolbar() { >- new YAHOO.widget.Button("newentry"); >- } >- //]]> >- </script> >- <ul class="toolbar"> >- <li><a id="newentry" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New Entry</a></li> >-</ul></div> >+<div id="toolbar" class="btn-toolbar"> >+ <a class="btn btn-small" id="newentry" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form"><i class="icon-plus"></i> New entry</a> >+</div> > [% END %] > > [% IF ( add_form ) %] >-- >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 9641
:
15405
|
15413
| 15471