Bugzilla – Attachment 7728 Details for
Bug 5345
DataTables in Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ordered.tt
0010-Bug-5345-DataTables-integration-in-acquisition-modul.patch (text/plain), 1.69 KB, created by
Jonathan Druart
on 2012-02-17 15:04:47 UTC
(
hide
)
Description:
ordered.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-02-17 15:04:47 UTC
Size:
1.69 KB
patch
obsolete
>From c691cffc2c424f88c7a7bd4471d5607771817892 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 10/16] Bug 5345: DataTables integration in acquisition module > [10] > >ordered.tt >--- > .../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 93540c9..9e776e1 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> > [% INCLUDE 'header.inc' %] >@@ -31,7 +44,7 @@ > <th> Subtotal </th> > </tr> > </thead> >- >+ <tbody> > [% FOREACH order IN ordered %] > [% IF loop.odd %] > <tr class="highlight"> >@@ -64,7 +77,7 @@ > </td> > </tr> > [% END %] >- >+ </tbody> > <tfoot> > <tr> > <td> Total </td> >-- >1.7.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