Bugzilla – Attachment 9606 Details for
Bug 8100
DataTables in Acquisision module: neworderbiblio.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
neworderbiblio.tt
neworderbiblio.tt (text/plain), 2.12 KB, created by
Jonathan Druart
on 2012-05-16 11:57:25 UTC
(
hide
)
Description:
neworderbiblio.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-05-16 11:57:25 UTC
Size:
2.12 KB
patch
obsolete
>From 8fa8cac3b3b37069e2b13c1ca0d2b97fd51b242d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:57:35 +0100 >Subject: [PATCH 08/16] Bug 5345: DataTables integration in acquisition module > [8] > >neworderbiblio.tt >--- > .../prog/en/modules/acqui/neworderbiblio.tt | 25 ++++++++++++++++++- > 1 files changed, 23 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt >index 385a9b2..d67b04b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt >@@ -1,7 +1,23 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › Search Existing Records</title> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'greybox.inc' %] > [% 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 resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "aoColumnDefs": [ >+ { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, >+ ], >+ "sPaginationType": "four_button" >+ } ) ); >+ }); >+ //]]> >+</script> > </head> > <body> > [% INCLUDE 'header.inc' %] >@@ -38,13 +54,17 @@ > > [% IF ( total ) %] > <div class="searchresults"> >- <table> >+ <table id="resultst"> >+ <thead> > <tr> > <th>Summary</th> > <th>Publisher</th> > <th>Copyright</th> >- <th colspan="2"> </th> >+ <th> </th> >+ <th> </th> > </tr> >+ </thead> >+ <tbody> > [% FOREACH biblio IN resultsloop %] > <tr> > <td> >@@ -73,6 +93,7 @@ > </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 8100
:
9606
|
9781
|
10198