From c7f45f1d759972eb5af908fd03f36850e64a7f57 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Thu, 21 Jan 2021 14:04:37 +0100 Subject: [PATCH] Zeiterfassung: Bericht: Titel auch im Browser-Titel --- SL/Controller/TimeRecording.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, ); -- 2.20.1