countries defaults managed
[kivitendo-erp.git] / SL / Controller / BackgroundJobHistory.pm
index 850d464..fae8706 100644 (file)
@@ -68,7 +68,7 @@ sub check_task_server {
 }
 
 sub add_stylesheet {
-  $::request->{layout}->use_stylesheet('lx-office-erp/background_jobs.css');
+  $::request->{layout}->use_stylesheet('background_jobs.css');
 }
 
 sub make_filter_summary {
@@ -88,7 +88,7 @@ sub make_filter_summary {
                        @filters;
 
   my %status = (
-    failed   => $::locale->text('failed'),
+    failure  => $::locale->text('failed'),
     success  => $::locale->text('succeeded'),
   );
   push @filter_strings, $status{ $filter->{'status:eq_ignore_empty'} } if $filter->{'status:eq_ignore_empty'};
@@ -101,7 +101,6 @@ sub init_models {
 
   SL::Controller::Helper::GetModels->new(
     controller => $self,
-    model  => 'BackgroundJobHistory',
     sorted => {
       package_name => t8('Package name'),
       run_at       => t8('Run at'),