Bug 29723: Add a "Configure table" button for KohaTable tables
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 17 Dec 2021 09:19:35 +0000 (10:19 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 16 Aug 2022 13:12:26 +0000 (10:12 -0300)
commit73178317a6c9395946662dd808c8d92ad061dd42
treeb4bd4a4324b14ddc804d80069869426df806ad63
parent6bc85707baf453778b38856f32025aa84f4f2c14
Bug 29723: Add a "Configure table" button for KohaTable tables

This patch suggests to have a "Configure table" button when a table can
be configured in the "Table settings" administraition area.

Test plan:
Go to different views where the table can be configured (you an
exhaustive list on bug 29648), notice the "Configure table" button (if
you have the 'manage_column_config' subpermission.

Note that the link is correct but the scrollbar is not adjusted at the
correct position. Maybe we could improve that switching to the bootstrap
accordion plugin?

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Andrew <andrewfh@dubcolib.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Template/Plugin/TablesSettings.pm
koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/intranet-tmpl/prog/js/datatables.js