From 789208399757314cce9cc9f2015ba3f1d17a42a9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 17 Feb 2012 15:56:30 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [5] basketgroup.tt http://bugs.koha-community.org/show_bug.cgi?id=8105 Signed-off-by: Marijana Glavica --- .../prog/en/modules/acqui/basketgroup.tt | 30 +++++++++++++------ 1 files changed, 20 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt index 5b34721..c1bee2f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt @@ -1,6 +1,9 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Basket grouping for [% booksellername |html %] + [% INCLUDE 'doc-head-close.inc' %] + + [% IF ( grouping ) %] @@ -100,6 +103,17 @@ function submitForm(form) { // $("#toolbar").empty(); yuiToolbar(); $("#basket_groups > ul").tabs(); + + $("table").dataTable($.extend(true, {}, dataTablesDefaults, { + "aoColumnDefs": [ + { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, + ], + "bAutoWidth": false, + "bPaginate": false, + "bInfo": false, + "bFilter": false, + } )); + }); // YUI Toolbar Functions @@ -250,10 +264,10 @@ function yuiToolbar() { [% ELSE %]
  • Closed
  • [% END %]
    - +
    - + @@ -267,13 +281,11 @@ function yuiToolbar() { [% END %] - - [% END %] @@ -282,10 +294,10 @@ function yuiToolbar() {
    Basket groupActionBasket groupAction
    + -
    -
    +
    - +
    - + @@ -301,8 +313,6 @@ function yuiToolbar() { - -- 1.7.2.5
    Basket groupActionBasket groupAction
    -