Bugzilla – Attachment 8836 Details for
Bug 5345
DataTables in Koha
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 [4]
SIGNED-OFF-Bug-5345-DataTables-integration-in-acqu.patch (text/plain), 2.86 KB, created by
Katrin Fischer
on 2012-04-03 19:29:46 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [4]
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-04-03 19:29:46 UTC
Size:
2.86 KB
patch
obsolete
>From c2da450e206102daaa6bb6f7d74f45f850b462e8 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] [SIGNED-OFF] 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. >--- > .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 33 ++++++++++++++------ > 1 files changed, 23 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 7b93de6..f582896 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,25 @@ > </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" >+ } ) ); >+ } ); >+ function confirm_reopen(skip) { >+ var is_confirmed = skip || confirm(_('Are you sure you want to reopen this basket?')); >+ if (is_confirmed) { >+ window.location = "[% script_name %]?op=reopen&basketno=[% basketno %]"; >+ } >+ } >+//]]> >+</script> >+ > <style type="text/css"> > .sortmsg {font-size: 80%;} > </style> >-- >1.7.5.4
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 5345
:
7719
|
7720
|
7721
|
7722
|
7723
|
7724
|
7725
|
7726
|
7727
|
7728
|
7729
|
7730
|
7731
|
7732
|
7733
|
7734
|
8039
|
8040
|
8057
|
8058
|
8292
|
8830
|
8831
|
8833
|
8834
|
8835
|
8836
|
8837
|
9519
|
9601
|
9602