Bugzilla – Attachment 8834 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 [10]
SIGNEd-OFF-Bug-5345-DataTables-integration-in-acqu.patch (text/plain), 1.78 KB, created by
Katrin Fischer
on 2012-04-03 19:28:37 UTC
(
hide
)
Description:
[PASSED_QA][SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [10]
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-04-03 19:28:37 UTC
Size:
1.78 KB
patch
obsolete
>From 3eadc4c1bc463adc5afda58e4e5f9a74f64735f4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:58:20 +0100 >Subject: [PATCH] [SIGNEd-OFF] Bug 5345: DataTables integration in acquisition > module [10] > >ordered.tt > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > .../intranet-tmpl/prog/en/modules/acqui/ordered.tt | 17 +++++++++++++++-- > 1 files changed, 15 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt >index 379d042..5eb0696 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt >@@ -1,7 +1,20 @@ > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › Ordered</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 spent = $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sPaginationType": "four_button" >+ } ) ); >+ }); >+ //]]> >+</script> > </head> > <body id="acq_ordered" class="acq"> > [% INCLUDE 'header.inc' %] >@@ -31,7 +44,7 @@ > <th> Subtotal </th> > </tr> > </thead> >- >+ <tbody> > [% FOREACH order IN ordered %] > [% IF loop.odd %] > <tr class="highlight"> >@@ -68,7 +81,7 @@ > </td> > </tr> > [% END %] >- >+ </tbody> > <tfoot> > <tr> > <td> Total </td> >-- >1.7.5.4
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