Bugzilla – Attachment 15373 Details for
Bug 9622
Replace YUI button on MARC frameworks page with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9622 - Replace YUI button on MARC fameworks page with Bootstrap
Bug-9622---Replace-YUI-button-on-MARC-fameworks-pa.patch (text/plain), 1.83 KB, created by
Owen Leonard
on 2013-02-15 16:18:00 UTC
(
hide
)
Description:
Bug 9622 - Replace YUI button on MARC fameworks page with Bootstrap
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-02-15 16:18:00 UTC
Size:
1.83 KB
patch
obsolete
>From cc32559c4d9d77434c8c9075ba1142c42f7079b4 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sun, 3 Feb 2013 15:12:39 -0500 >Subject: [PATCH] Bug 9622 - Replace YUI button on MARC fameworks page with > Bootstrap >Content-Type: text/plain; charset="utf-8" > >This patch converts the toolbar on the MARC frameworks administration >page to to Bootstrap, replacing YUI button code with Bootstrap markup. > >To test, view the MARC frameworks administration page and confirm that >the "New framework" button looks correct and works correctly. >--- > .../prog/en/modules/admin/biblio_framework.tt | 14 ++++++-------- > 1 file changed, 6 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt >index b87ec20..1458d10 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt >@@ -43,9 +43,6 @@ function Check(f) { > return true; > } > >-$(document).ready(function() { >- new YAHOO.widget.Button("newframework"); >-}); > //]]> > </script> > <script type="text/javascript"> >@@ -138,11 +135,12 @@ $(document).ready(function() { > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> >- >-[% IF ( else ) %]<div id="toolbar"> >- <ul class="toolbar"> >- <li><a id="newframework" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form">New framework</a></li> >-</ul></div>[% END %] >+ >+[% IF ( else ) %] >+<div id="toolbar" class="btn-toolbar"> >+ <a class="btn btn-small" id="newframework" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form"><i class="icon-plus"></i> New framework</a> >+</div> >+[% END %] > > [% IF ( add_form ) %] > <h1>[% IF ( frameworkcode ) %]Modify framework text[% ELSE %]Add framework[% END %]</h1> >-- >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 9622
:
15373
|
15377
|
15453