Revision 3483588b
Von Jan Büren vor fast 3 Jahren hinzugefügt
bin/mozilla/login.pl | ||
---|---|---|
56 | 56 |
my $git = SL::Git->new; |
57 | 57 |
($form->{git_head}) = $git->get_log(since => 'HEAD~1', until => 'HEAD') if $git->is_git_installation; |
58 | 58 |
$form->{xmas} = '_xmas' if (DateTime->today->month == 12 && DateTime->today->day < 27); |
59 |
$form->{xmas} = '_corona' if (DateTime->today->month >= 7 && DateTime->today->year == 2020 |
|
60 |
&& DateTime->today->month <= 11); |
|
59 |
$form->{xmas} = '_mir' if (DateTime->today->month >= 03 && DateTime->today->year == 2022 |
|
60 |
&& DateTime->today->month <= 05); |
|
61 |
$form->{xmas} = '_mir' if (DateTime->today->day == 24 && DateTime->today->month == 2); |
|
61 | 62 |
|
62 | 63 |
# create the logo screen |
63 | 64 |
$form->header() unless $form->{noheader}; |
Auch abrufbar als: Unified diff
kivilogo: Frieden statt Corona