Bugzilla – Attachment 8835 Details for
Bug 5345
DataTables in Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [6]
SIGNED-OFF-Bug-5345-DataTables-integration-in-acqu.patch (text/plain), 2.36 KB, created by
Katrin Fischer
on 2012-04-03 19:29:33 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [6]
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-04-03 19:29:33 UTC
Size:
2.36 KB
patch
obsolete
>From 7f0518178d4b775be0d30fde3b89f2a8d66b0be4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:56:51 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 5345: DataTables integration in acquisition > module [6] > >histsearch.tt > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > .../prog/en/modules/acqui/histsearch.tt | 20 ++++++++++++++++++-- > 1 files changed, 18 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >index 1d6c242..3810037 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >@@ -1,7 +1,20 @@ > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › [% IF ( suggestions_loop ) %]Orders search › Search Results[% ELSE %]Order search[% END %]</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 histsearcht = $("#histsearcht").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sPaginationType": "four_button" >+ } ) ); >+ }); >+ //]]> >+</script> > [% INCLUDE 'calendar.inc' %] > </head> > <body id="acq_histsearch" class="acq"> >@@ -62,7 +75,8 @@ > </form>[% END %] > [% IF ( suggestions_loop ) %]<h1>Search Results</h1> > <div id="acqui_histsearch"> >- <table> >+ <table id="histsearcht"> >+ <thead> > <tr> > <th>Basket</th> > <th>Basket group</th> >@@ -74,7 +88,8 @@ > <th>Quantity ordered</th> > <th>Unit cost</th> > </tr> >- >+ </thead> >+ <tbody> > [% FOREACH suggestions_loo IN suggestions_loop %] > <tr> > <td>[% suggestions_loo.basketname %] (<a href="basket.pl?basketno=[% suggestions_loo.basketno %]">[% suggestions_loo.basketno %]</a>)</td> >@@ -94,6 +109,7 @@ > <td>[% suggestions_loo.ecost %]</td> > </tr> > [% END %] >+ </tbody> > </table> > </div>[% ELSE %][% END %] > >-- >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