Bugzilla – Attachment 9605 Details for
Bug 8099
DataTables in Acquisision module: acqui-home.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
acqui-home.tt
acqui-home.tt (text/plain), 1.43 KB, created by
Jonathan Druart
on 2012-05-16 11:56:47 UTC
(
hide
)
Description:
acqui-home.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-05-16 11:56:47 UTC
Size:
1.43 KB
patch
obsolete
>From 7103e552975bde6ea830948724e674ffdf2a76e4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:55:18 +0100 >Subject: [PATCH 02/16] Bug 5345: DataTables integration in acquisition module > [2] > >acqui-home.tt >--- > .../prog/en/modules/acqui/acqui-home.tt | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >index 03cdc2d..d13ef5b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >@@ -1,6 +1,10 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions</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() { >@@ -18,6 +22,9 @@ $(document).ready(function() { > $('.bu_active').hide(); > } > }); >+ var srlt = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sPaginationType": "four_button" >+ } ) ); > }); > //]]> > </script> >-- >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 8099
:
9605
|
9782
|
10193