Revision ae7d5312
Von Jan Büren vor mehr als 4 Jahren hinzugefügt
bin/mozilla/login.pl | ||
---|---|---|
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};
|
Auch abrufbar als: Unified diff
kivi nur mit corona-schutz rumlaufen lassen