Bugzilla – Attachment 8058 Details for
Bug 5345
DataTables in Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED_QA][SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [9]
SIGNED-OFF-Bug-5345-DataTables-integration-in-acqu.patch (text/plain), 2.44 KB, created by
Owen Leonard
on 2012-03-07 15:53:21 UTC
(
hide
)
Description:
[PASSED_QA][SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [9]
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-03-07 15:53:21 UTC
Size:
2.44 KB
patch
obsolete
>From e83c21dd074dbe269b8856e8dee7b03a02bb2f04 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:57:57 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [9] >Content-Type: text/plain; charset="utf-8" > >newordersuggestion.tt > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/modules/acqui/newordersuggestion.tt | 28 +++++++++++++++++-- > 1 files changed, 25 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt >index 8629e1d..e46a623 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt >@@ -1,6 +1,22 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › Add order from a suggestion</title> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'doc-head-close.inc' %] >+<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> >+[% INCLUDE 'datatables-strings.inc' %] >+<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> >+<script type="text/javascript"> >+//<![CDATA[ >+ $(document).ready(function() { >+ var suggestionst = $("#suggestionst").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "aoColumnDefs": [ >+ { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, >+ ], >+ "sPaginationType": "four_button" >+ } ) ); >+ }); >+ //]]> >+</script> > </head> > <body> > [% INCLUDE 'header.inc' %] >@@ -16,14 +32,16 @@ > > <h1>Suggestions</h1> > [% IF ( suggestions_loop ) %] >- <table> >+ <table id="suggestionst"> >+ <thead> > <tr> > <th>Suggestion</th> > <th>Suggested by</th> > <th>Accepted by</th> > <th> </th> > </tr> >- >+ </thead> >+ <tbody> > [% FOREACH suggestions_loo IN suggestions_loop %] > <tr> > <td> >@@ -53,7 +71,11 @@ > </td> > </tr> > [% END %] >- </table>[% ELSE %]There are no outstanding (accepted) suggestions.[% END %] >+ </tbody> >+ </table> >+ [% ELSE %] >+ There are no outstanding (accepted) suggestions. >+ [% END %] > </div> > </div> > <div class="yui-b"> >-- >1.7.3
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 5345
:
7719
|
7720
|
7721
|
7722
|
7723
|
7724
|
7725
|
7726
|
7727
|
7728
|
7729
|
7730
|
7731
|
7732
|
7733
|
7734
|
8039
|
8040
|
8057
|
8058
|
8292
|
8830
|
8831
|
8833
|
8834
|
8835
|
8836
|
8837
|
9519
|
9601
|
9602