From d85878f78ba5d44313c42cc8efb926e397b0a119 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Mar 2013 14:51:44 -0400 Subject: [PATCH] Bug 9443 [Revised] Use DataTables on MARC frameworks administration Replace the tablesorter plugin with the DataTables plugin on the MARC frameworks administration page. To test, open the MARC frameworks dministration page (Administration -> MARC bibliographic framework -> MARC structure). Confirm that table sorting, paging, and searching works correctly. Revision corrects path to DataTables assets, merges with new Bootstrap version of the page, and corrects minor markup errors. Signed-off-by: Frederic Durand Signed-off-by: Katrin Fischer Works nicely. All tests and QA script pass. Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/admin/marctagstructure.tt | 34 ++++++++++++------- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt index 8886fcf08e..91e725146e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt @@ -5,14 +5,11 @@ [% IF ( delete_confirmed ) %]MARC frameworks › Data deleted[% END %] [% IF ( else ) %]MARC frameworks[% END %] [% INCLUDE 'doc-head-close.inc' %] - - - + + +[% INCLUDE 'datatables-strings.inc' %] + + @@ -152,11 +161,10 @@ function Check(f) { [% END %]

-
-[% INCLUDE 'table-pager.inc' perpage='20' %] -
+ + @@ -165,8 +173,9 @@ function Check(f) { + - + [% IF ( select_display ) %] [% FOREACH loo IN loop %] [% IF ( loop.odd ) %][% ELSE %][% END %] @@ -204,6 +213,7 @@ function Check(f) { [% END %] [% END %] +
Tag Lib RepeatableSubfields Edit Delete
-- 2.39.5