From: Bernd Bleßmann Date: Thu, 21 Jan 2021 13:04:37 +0000 (+0100) Subject: Zeiterfassung: Bericht: Titel auch im Browser-Titel X-Git-Tag: kivitendo-mebil_0.1-0~9^2~301 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c7f45f1d759972eb5af908fd03f36850e64a7f57;p=kivitendo-erp.git Zeiterfassung: Bericht: Titel auch im Browser-Titel --- diff --git a/SL/Controller/TimeRecording.pm b/SL/Controller/TimeRecording.pm index 92e5253f2..e852ba1a9 100644 --- a/SL/Controller/TimeRecording.pm +++ b/SL/Controller/TimeRecording.pm @@ -214,11 +214,14 @@ sub prepare_report { booked => { text => t8('Booked'), sub => sub { $_[0]->booked ? t8('Yes') : t8('No') } }, ); + my $title = t8('Time Recordings'); + $report->{title} = $title; # for browser titlebar (title-tag) + $report->set_options( controller_class => 'TimeRecording', std_column_visibility => 1, output_format => 'HTML', - title => t8('Time Recordings'), + title => $title, # for heading allow_pdf_export => 1, allow_csv_export => 1, );