Bugzilla – Attachment 9519 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 [6]
patch.txt (text/plain), 2.39 KB, created by
Marcel de Rooy
on 2012-05-11 14:47:46 UTC
(
hide
)
Description:
[PASSED_QA][SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [6]
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2012-05-11 14:47:46 UTC
Size:
2.39 KB
patch
obsolete
>From 204ac9b0e7ce9783880b290b13c4f89394e86d57 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] Bug 5345: DataTables integration in acquisition module [6] >Content-Type: text/plain; charset="utf-8" > >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 3249cf7..6ddaf98 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> >@@ -75,7 +89,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> >@@ -96,6 +111,7 @@ > <td>[% suggestions_loo.ecost %]</td> > </tr> > [% END %] >+ </tbody> > </table> > </div>[% ELSE %][% END %] > >-- >1.7.7.6 >
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