From 136a063c16402541a392eb07013f394e37e37185 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 1 Mar 2011 16:14:43 +0100 Subject: [PATCH] Flash-Meldung nach Import ausgeben --- SL/Controller/CsvImport.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index bebd3516d..022861508 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -152,6 +152,8 @@ sub test_and_import { $self->num_importable(scalar grep { !$_ } map { scalar @{ $_->{errors} } } @{ $self->data }); $self->import_status($params{test} ? 'tested' : 'imported'); + flash('info', $::locale->text('Objects have been imported.')) if !$params{test}; + $self->action_new; } -- 2.20.1