calendar.cgi: refactoring
This commit is contained in:
@@ -843,8 +843,10 @@ sub showEventList {
|
|||||||
$draft = $draftIcon if $draft eq '1';
|
$draft = $draftIcon if $draft eq '1';
|
||||||
|
|
||||||
my $playout = '-';
|
my $playout = '-';
|
||||||
$playout = $processingIcon if $event->{upload_status} ne '';
|
if (exists $event->{upload_status}){
|
||||||
$playout = $preparedIcon if $event->{upload_status} eq 'done';
|
$playout = $processingIcon if $event->{upload_status} ne '';
|
||||||
|
$playout = $preparedIcon if $event->{upload_status} eq 'done';
|
||||||
|
}
|
||||||
$playout = $playoutIcon if $event->{playout} eq '1';
|
$playout = $playoutIcon if $event->{playout} eq '1';
|
||||||
|
|
||||||
my $title = $event->{title};
|
my $title = $event->{title};
|
||||||
|
|||||||
Reference in New Issue
Block a user