kivi nur mit corona-schutz rumlaufen lassen
authorJan Büren <jan@kivitendo.de>
Sat, 27 Jun 2020 11:59:41 +0000 (13:59 +0200)
committerJan Büren <jan@kivitendo.de>
Sat, 27 Jun 2020 11:59:41 +0000 (13:59 +0200)
bin/mozilla/login.pl
image/kivitendo_corona.png [new file with mode: 0644]

index 0121b93..8fd9c38 100644 (file)
@@ -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};
diff --git a/image/kivitendo_corona.png b/image/kivitendo_corona.png
new file mode 100644 (file)
index 0000000..d6f3d03
Binary files /dev/null and b/image/kivitendo_corona.png differ