From 70adfcd668b1a5eef656b3d73e9131952fbde079 Mon Sep 17 00:00:00 2001 From: Victor Grousset Date: Thu, 1 Feb 2018 11:05:21 +0100 Subject: [PATCH] Bug 19928: Acquisitions: show the precise kind of CSV on export buttons That is to say on the 4 "export as CSV" buttons found, now when can read "export as semicolon separated text (.csv)". It follows the "delimiter" syspref. Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 14 +++++++++++++- .../intranet-tmpl/prog/en/modules/acqui/basketgroup.tt | 17 +++++++++++++++-- .../intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 15 ++++++++++++++- 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 81d07ff34e..ce2e0b1016 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -1,6 +1,18 @@ +[% USE Koha %] [% BLOCK csv_export %]
- Export as CSV + + + Export as + [% SWITCH Koha.Preference('delimiter') %] + [% CASE '#' %] pound (#) separated text (.csv) + [% CASE ',' %] comma separated text (.csv) + [% CASE '/' %] slash separated text (.csv) + [% CASE ';' %] semicolon separated text (.csv) + [% CASE '\\' %] backslash separated text (.csv) + [% CASE 'tabulation' %] tab separated text (.csv) + [% END %] +