Bug 15451: Rewrite the csv profile tool script
commit6d75e385c818212cc10a9832b5a5525cbef6e6b2
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 31 Dec 2015 10:23:24 +0000 (31 10:23 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 22 Jul 2016 17:18:34 +0000 (22 17:18 +0000)
treed2da9a5b88804920f9771aaaade2079b307adcac
parent9deb1ace53a16d245a7dfbefd8df016822dae850
Bug 15451: Rewrite the csv profile tool script

This page was inconsistent with the other admin and tool pages.
The 2 tabs 'New profile' and 'Edit existing profile' were useless, the
ergonomic needs to be revisited.
This patch applies the same script/page structure as others: by default
a table containing all csv profiles is displayed with 2 action links:
edit and delete.

Test plan:
1/ Create 1+ CSV profiles, with different types (marc and sql)
2/ Update some values using the Edit link
3/ Delete a CSV profile

Note: When deleting a CSV profile, it would be great to warn the user if it is
used.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
No problems on create, update and delete.
No errors

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt
tools/csv-profiles.pl