Bugzilla – Attachment 15383 Details for
Bug 9624
Replace YUI button on reports dictionary page with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 9624 - Replace YUI button on reports dictionary page with Bootstrap
SIGNED-OFF-Bug-9624---Replace-YUI-button-on-report.patch (text/plain), 2.50 KB, created by
Bernardo Gonzalez Kriegel
on 2013-02-15 17:08:51 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9624 - Replace YUI button on reports dictionary page with Bootstrap
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2013-02-15 17:08:51 UTC
Size:
2.50 KB
patch
obsolete
>From 8b0569db3397b2e5c145c44a90c7f12c22ee2e59 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 15 Feb 2013 11:31:46 -0500 >Subject: [PATCH] [SIGNED-OFF] Bug 9624 - Replace YUI button on reports > dictionary page with Bootstrap > >This patch removes the toolbar include file used by the reports >dictionary and embeds the toolbar markup directly in the main >template since it's the only instance where it is used. >Toolbar is converted to use Bootstrap, replacing YUI button code >with Bootstrap markup. > >To test, view the reports dictionary and confirm that the "New >definition" button looks correct and works correctly. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Comment: Work as described. No errors. >--- > .../prog/en/includes/dictionary-toolbar.inc | 21 -------------------- > .../prog/en/modules/reports/dictionary.tt | 6 +++++- > 2 files changed, 5 insertions(+), 22 deletions(-) > delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/dictionary-toolbar.inc > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/dictionary-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/dictionary-toolbar.inc >deleted file mode 100644 >index 4d213a1..0000000 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/dictionary-toolbar.inc >+++ /dev/null >@@ -1,21 +0,0 @@ >-<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("newdictionary"); >- } >- >- //]]> >- </script> >- <ul class="toolbar"> >- <li><a id="newdictionary" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition">New definition</a></li> >-</ul></div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >index 2e15834..20c56b7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >@@ -22,7 +22,11 @@ > <div id="yui-main"> > <div class="yui-b"> > [% IF ( start_dictionary ) %] >-[% INCLUDE 'dictionary-toolbar.inc' %] >+ <div id="toolbar"> >+ <ul class="toolbar"> >+ <li><a id="newdictionary" class="btn btn-small" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition"><i class="icon-plus"></i> New definition</a></li> >+ </ul> >+ </div> > [% END %] > <h1>Dictionary</h1> > [% IF ( start_dictionary ) %] >-- >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 9624
:
15376
|
15383
|
15445