Bugzilla – Attachment 7300 Details for
Bug 6836
jQuery plugin Datatables integration http://wiki.koha-community.org/wiki/DataTables_HowTo
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 6836: test case readingrec.pl
SIGNED-OFF-Bug-6836-test-case-readingrecpl.patch (text/plain), 2.72 KB, created by
Katrin Fischer
on 2012-01-23 21:33:33 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 6836: test case readingrec.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-01-23 21:33:33 UTC
Size:
2.72 KB
patch
obsolete
>From f25bc40551544cd06822dedc0591969144807a9b Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 2 Dec 2011 10:27:11 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 6836: test case readingrec.pl > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >I tested the functionality and tested translation. >All important strings are in the template and can be translated. >Good work! >--- > .../prog/en/modules/members/readingrec.tt | 26 +++++++------------- > 1 files changed, 9 insertions(+), 17 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >index f1554f0..36f8937 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >@@ -1,21 +1,16 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Circulation History for [% INCLUDE 'patron-title.inc' %]</title> > [% INCLUDE 'doc-head-close.inc' %] >-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> >-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> >+<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" /> >+<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script> >+[% INCLUDE 'datatables-strings.inc' %] >+<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script> > <script type="text/javascript" id="js">$(document).ready(function() { >- $.tablesorter.addParser({ >- id: 'articles', >- is: function(s) {return false; }, >- format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, >- type: 'text' >- }); >- $.tablesorter.defaults.widgets = ['zebra']; >- $("#table_readingrec").tablesorter({[% IF ( dateformat_metric ) %] >- dateFormat: 'uk',[% END %] >- sortList: [[8,1]], >- headers: { 1: { sorter: 'articles' }, 9: { sorter: 'shortDate'} } >- }).tablesorterPager({container: $("#pagertable_readingrec"),positionFixed: false,size: 20}); >+ $(document).ready(function() { >+ $("#table_readingrec").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sPaginationType": "four_button", >+ })); >+ }); > }); </script> > </head> > <body> >@@ -34,9 +29,6 @@ > [% IF ( loop_reading ) %] > <form action="/cgi-bin/koha/members/readingrec.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /></form> > >-<div id="pagertable_readingrec"> >-[% INCLUDE 'table-pager.inc' perpage='20' %] >-</div> > <table id="table_readingrec"> > <thead> > <th>Date</th> >-- >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 6836
:
5284
|
5291
|
5294
|
6340
|
6387
|
6467
|
6468
|
6522
|
6523
|
6524
|
7112
|
7120
|
7121
|
7122
|
7123
|
7124
|
7243
|
7244
|
7298
|
7299
| 7300 |
7301
|
7302