]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/EmailJournal.pm
Recht prinzipiell setzen
[mfinanz.git] / SL / Controller / EmailJournal.pm
index 7c40a0de7a6bb43b6d0b3f94ed497a054f85f392..3bfc39b96a72bd718a3a8ba58622e54b57728ce1 100644 (file)
@@ -27,6 +27,9 @@ __PACKAGE__->run_before('add_stylesheet');
 sub action_list {
   my ($self) = @_;
 
+  if ( $::instance_conf->get_email_journal == 0 ) {
+    flash('info',  $::locale->text('Storing the emails in the journal is currently disabled in the client configuration.'));
+  }
   $self->render('email_journal/list',
                 title   => $::locale->text('Email journal'),
                 ENTRIES => $self->models->get,