Bugzilla – Attachment 9756 Details for
Bug 8109
DataTables in Acquisision module: basket.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED_QA] basket.tt
0001-Bug-5345-DataTables-integration-in-acquisition-modul.patch (text/plain), 2.60 KB, created by
Jonathan Druart
on 2012-05-24 12:14:49 UTC
(
hide
)
Description:
[PASSED_QA] basket.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-05-24 12:14:49 UTC
Size:
2.60 KB
patch
obsolete
>From be308279cf1c7dcf5f69fc34061676118831296a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:56:08 +0100 >Subject: [PATCH 1/1] Bug 5345: DataTables integration in acquisition module > [4] > >basket.tt > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Columns for 'Modify' and 'Delete' are sortable, which doesn't hurt but could be removed. > >http://bugs.koha-community.org/show_bug.cgi?id=8109 >--- > .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 27 ++++++++++++------- > 1 files changed, 17 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index 0cf7ff6..4b3b80f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -1,20 +1,14 @@ > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</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> > [% UNLESS ( closedate ) %] >-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> > <script type="text/javascript"> > //<![CDATA[ >- $(document).ready(function() { >- $("#orders").tablesorter({ >- headers: { >- 9: { sorter: false }, >- 10: { sorter: false } >- } >- }); >- $("#cancelledorderst").tablesorter(); >- }); > function confirm_close() { > var is_confirmed = confirm(_('Are you sure you want to close this basket?')); > if (is_confirmed) { >@@ -68,6 +62,19 @@ > </script> > [% END %] > [% END %] >+<script type="text/javascript"> >+//<![CDATA[ >+ $(document).ready(function() { >+ var orderst = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sPaginationType": "four_button" >+ } ) ); >+ var cancelledorderst = $("#cancelledorderst").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sPaginationType": "four_button" >+ } ) ); >+ } ); >+//]]> >+</script> >+ > <style type="text/css"> > .sortmsg {font-size: 80%;} > </style> >-- >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 8109
:
9620
| 9756 |
9757
|
9758