Bugzilla – Attachment 25595 Details for
Bug 11716
Use new DataTables include in label manage template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 11716 - Use new DataTables include in label manage template
0001-SIGNED-OFF-Bug-11716-Use-new-DataTables-include-in-l.patch (text/plain), 2.03 KB, created by
wajasu
on 2014-02-24 18:30:25 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 11716 - Use new DataTables include in label manage template
Filename:
MIME Type:
Creator:
wajasu
Created:
2014-02-24 18:30:25 UTC
Size:
2.03 KB
patch
obsolete
>From 83c658b4c1bb732a4e7f043da280eb07cb55c2e6 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 7 Feb 2014 14:54:27 -0500 >Subject: [PATCH] [SIGNED-OFF] Bug 11716 - Use new DataTables include in label > manage template > >This patch modifies the template for the label manage pages to use >the new DataTables include. This simplifies the inclusion of assets and >updates to the latest DataTables version. > >To test, view the following pages and confirm that table sorting is >working correctly: > >Manage layouts (/cgi-bin/koha/labels/label-manage.pl?label_element=layout) >Manage templates (/cgi-bin/koha/labels/label-manage.pl?label_element=template) >Manage profiles (/cgi-bin/koha/labels/label-manage.pl?label_element=profile) >Manage batches (/cgi-bin/koha/labels/label-manage.pl?label_element=batch) > >Signed-off-by: wajasu <matted-34813@mypacks.net> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >index edc469a..791bac0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >@@ -80,14 +80,15 @@ > </script> > > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> >-<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> >+[% INCLUDE 'datatables.inc' %] > <script type="text/javascript" id="js"> > $(document).ready(function() { > $("#labels-table").dataTable($.extend(true, {}, dataTablesDefaults, { > "sPaginationType": "four_button", > "aaSorting": [[ 1, "asc" ]], >+ "aoColumnDefs": [ >+ { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, >+ ] > })); > }); > </script> >-- >1.8.5.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 11716
:
25150
|
25595
|
25612