From 9b499f8d8877c36208e072c86cacbe73e471cf36 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 Content-Type: text/plain; charset="utf-8" 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. --- .../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 8886fcf..91e7251 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
-- 1.7.9.5