Bugzilla – Attachment 15413 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]
[SIGNED-OFF] Bug 9641 - Replace YUI button on the Koha news management page with Bootstrap
SIGNED-OFF-Bug-9641---Replace-YUI-button-on-the-Ko.patch (text/plain), 1.85 KB, created by
Bernardo Gonzalez Kriegel
on 2013-02-15 20:41:24 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9641 - Replace YUI button on the Koha news management page with Bootstrap
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2013-02-15 20:41:24 UTC
Size:
1.85 KB
patch
obsolete
>From c14a35db546b7e780ccc49df96ff2e7ba40e2a62 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sat, 2 Feb 2013 13:33:39 -0500 >Subject: [PATCH] [SIGNED-OFF] 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. >--- > .../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