Bugzilla – Attachment 9781 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]
[PATCH 08/16] Bug 5345: DataTables integration in acquisition module [8]
PATCH-0816-Bug-5345-DataTables-integration-in-acqu.patch (text/plain), 2.41 KB, created by
Jonathan Druart
on 2012-05-25 14:37:32 UTC
(
hide
)
Description:
[PATCH 08/16] Bug 5345: DataTables integration in acquisition module [8]
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-05-25 14:37:32 UTC
Size:
2.41 KB
patch
obsolete
>From 8b16034ee1c25eb5d363cc46fcc16ab418356261 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 25 May 2012 16:37:42 +0200 >Subject: [PATCH] [PATCH 08/16] Bug 5345: DataTables integration in > acquisition module [8] > >neworderbiblio.tt > >http://bugs.koha-community.org/show_bug.cgi?id=8100 >--- > .../prog/en/modules/acqui/neworderbiblio.tt | 39 +++++++++++++++----- > 1 files changed, 30 insertions(+), 9 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 6342d33..245abf1 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, { >+ 'bPaginate': false, >+ 'bFilter': false, >+ 'bInfo': false, >+ 'bSort': false, >+ } ) ); >+ }); >+ //]]> >+</script> > </head> > <body id="acq_neworderbiblio" class="acq"> > [% INCLUDE 'header.inc' %] >@@ -38,14 +54,18 @@ > > [% IF ( total ) %] > <div class="searchresults"> >- <table> >- <tr> >- <th>Summary</th> >- <th>Publisher</th> >- <th>Copyright</th> >- <th colspan="2"> </th> >- </tr> >- [% FOREACH biblio IN resultsloop %] >+ <table id="resultst"> >+ <thead> >+ <tr> >+ <th>Summary</th> >+ <th>Publisher</th> >+ <th>Copyright</th> >+ <th> </th> >+ <th> </th> >+ </tr> >+ </thead> >+ <tbody> >+ [% FOREACH biblio IN resultsloop %] > <tr> > <td> > <p><span class="title">[% biblio.title |html %]</span> >@@ -72,7 +92,8 @@ > </a> > </td> > </tr> >- [% END %] >+ [% 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