Bugzilla – Attachment 7729 Details for
Bug 5345
DataTables in Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
orderreceive.tt
0011-Bug-5345-DataTables-integration-in-acquisition-modul.patch (text/plain), 2.13 KB, created by
Jonathan Druart
on 2012-02-17 15:04:59 UTC
(
hide
)
Description:
orderreceive.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-02-17 15:04:59 UTC
Size:
2.13 KB
patch
obsolete
>From a8af48775bfad28d9179d4a513b84226a5eeb73f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:58:38 +0100 >Subject: [PATCH 11/16] Bug 5345: DataTables integration in acquisition module > [11] > >orderreceive.tt >--- > .../prog/en/modules/acqui/orderreceive.tt | 20 +++++++++++++++++++- > 1 files changed, 19 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index ea422c8..0209d56 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -1,7 +1,21 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › Receipt summary for : [% name %] [% IF ( invoice ) %]invoice, [% invoice %][% END %]</title> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/javascript" src="[% themelang %]/js/additem.js"> </script> >+<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 orderlistt = $("#orderlistt").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sPaginationType": "four_button" >+ } ) ); >+ }); >+ //]]> >+</script> >+ > </head> > <body> > [% INCLUDE 'header.inc' %] >@@ -139,7 +153,8 @@ > </fieldset></div> </form> > [% ELSE %] > <div id="acqui_acquire_orderlist"> >- <table> >+ <table id="orderlistt"> >+ <thead> > <tr> > <th>Basket</th> > <th>ISBN</th> >@@ -148,6 +163,8 @@ > <th>Qty</th> > <th>Received</th> > </tr> >+ </thead> >+ <tbody> > [% FOREACH loo IN loop %] > <tr> > <td>[% loo.basketno %]</td> >@@ -158,6 +175,7 @@ > <td>[% loo.quantityreceived %]</td> > </tr> > [% END %] >+ </tbody> > </table> > </div> > [% END %] >-- >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