Bugzilla – Attachment 10182 Details for
Bug 8103
DataTables in Acquisision module: parcels.tt
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 [12]
SIGNED-OFF-Bug-5345-DataTables-integration-in-acqu.patch (text/plain), 3.99 KB, created by
Katrin Fischer
on 2012-06-11 11:17:47 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [12]
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-06-11 11:17:47 UTC
Size:
3.99 KB
patch
obsolete
>From 7a5d053f1b7082e09c022dece29490c911b7e63f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:58:54 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 5345: DataTables integration in acquisition > module [12] > >parcels.tt > >http://bugs.koha-community.org/show_bug.cgi?id=8103 >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works. >--- > .../intranet-tmpl/prog/en/modules/acqui/parcels.tt | 73 ++++++++++++-------- > 1 file changed, 45 insertions(+), 28 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt >index 740d0bb..2e70f3c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt >@@ -1,7 +1,20 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › Receive shipment from vendor [% name %]</title> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'doc-head-close.inc' %] > [% INCLUDE 'calendar.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 parcelst = $("#parcelst").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sPaginationType": "four_button" >+ } ) ); >+ }); >+ //]]> >+</script> > </head> > <body id="acq_parcels" class="acq"> > [% INCLUDE 'header.inc' %] >@@ -22,7 +35,8 @@ > <div id="resultlist"> > <!-- Search Results Table --> > >-<table class="small"> >+<table class="small" id="parcelst"> >+ <thead> > <tr> > <th>Line</th> > <th>Date received</th> >@@ -31,34 +45,37 @@ > <th>Biblio count</th> > <th>Items expected</th> > </tr> >-<!-- Actual Search Results --> >-[% FOREACH searchresult IN searchresults %] >- [% UNLESS ( loop.odd ) %] >- <tr class="highlight"> >- [% ELSE %] >- <tr> >+ </thead> >+ <tbody> >+ <!-- Actual Search Results --> >+ [% FOREACH searchresult IN searchresults %] >+ [% UNLESS ( loop.odd ) %] >+ <tr class="highlight"> >+ [% ELSE %] >+ <tr> >+ [% END %] >+ <td> >+ [% searchresult.number %] >+ </td> >+ <td> >+ <a href="/cgi-bin/koha/acqui/parcel.pl?type=intra&booksellerid=[% booksellerid |url %]&datereceived=[% searchresult.raw_datereceived |url %][% IF ( searchresult.code ) %]&invoice=[% searchresult.code |url %][% END %]"> >+ [% searchresult.datereceived %]</a> >+ </td> >+ <td> >+ [% IF ( searchresult.code ) %][% searchresult.code %][% ELSE %]<acronym title="not available">n/a</acronym>[% END %] >+ </td> >+ <td> >+ [% searchresult.reccount %] >+ </td> >+ <td> >+ [% searchresult.bibcount %] >+ </td> >+ <td> >+ [% searchresult.itemcount %] >+ </td> >+ </tr> > [% END %] >- <td> >- [% searchresult.number %] >- </td> >- <td> >- <a href="/cgi-bin/koha/acqui/parcel.pl?type=intra&booksellerid=[% booksellerid |url %]&datereceived=[% searchresult.raw_datereceived |url %][% IF ( searchresult.code ) %]&invoice=[% searchresult.code |url %][% END %]"> >- [% searchresult.datereceived %]</a> >- </td> >- <td> >- [% IF ( searchresult.code ) %][% searchresult.code %][% ELSE %]<acronym title="not available">n/a</acronym>[% END %] >- </td> >- <td> >- [% searchresult.reccount %] >- </td> >- <td> >- [% searchresult.bibcount %] >- </td> >- <td> >- [% searchresult.itemcount %] >- </td> >- </tr> >-[% END %] >+ </tbody> > </table> > > <div id="resultnumber"> >-- >1.7.9.5
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 8103
:
9609
|
9617
| 10182