X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Flogin.pl;h=890cf502becabf6b5b290d67c5c98b270764c685;hb=7608d92e4dca034db1ebdf07a0ef376c8704b725;hp=0121b933a21332d8dda354774b5a789a59ea9beb;hpb=9cd5c461ba9556b2da3db71303930b6e41aa1dba;p=kivitendo-erp.git diff --git a/bin/mozilla/login.pl b/bin/mozilla/login.pl index 0121b933a..890cf502b 100644 --- a/bin/mozilla/login.pl +++ b/bin/mozilla/login.pl @@ -45,7 +45,7 @@ sub company_logo { $main::lxdebug->enter_sub(); my %myconfig = %main::myconfig; - $form->{todo_list} = create_todo_list('login_screen' => 1) if (!$form->{no_todo_list}) and ($main::auth->check_right($::myconfig{login}, 'productivity')); + $form->{todo_list} = create_todo_list('login_screen' => 1) if (!$::request->is_mobile) and (!$form->{no_todo_list}) and ($main::auth->check_right($::myconfig{login}, 'productivity')); $form->{stylesheet} = $myconfig{stylesheet}; $form->{title} = $::locale->text('kivitendo'); @@ -56,6 +56,8 @@ sub company_logo { my $git = SL::Git->new; ($form->{git_head}) = $git->get_log(since => 'HEAD~1', until => 'HEAD') if $git->is_git_installation; $form->{xmas} = '_xmas' if (DateTime->today->month == 12 && DateTime->today->day < 27); + $form->{xmas} = '_corona' if (DateTime->today->month >= 7 && DateTime->today->year == 2020 + && DateTime->today->month <= 11); # create the logo screen $form->header() unless $form->{noheader};