diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-12-21 18:29:34 +0100 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-12-21 18:29:34 +0100 | 
| commit | 75601eb02fafc4259e4276ad2dc73de9fb5316b5 (patch) | |
| tree | ad046b8270b80eed985aa35c554e4b61af53993f /lib/DBInfoscreen | |
| parent | 25afe3f24f86c35e1002ebd517f2c65dc10b3bad (diff) | |
app: only show reasons for cancellations and delays ≥ 20 minutes
Diffstat (limited to 'lib/DBInfoscreen')
| -rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index c88ea54..a5bc063 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -656,7 +656,7 @@ sub format_iris_result_info {  			$info .= ": ${delaymsg}";  		}  	} -	elsif ( $result->delay and $result->delay > 0 ) { +	elsif ( $result->delay and $result->delay >= 20 ) {  		if ( $template eq 'app' or $template eq 'infoscreen' ) {  			$info = $delaymsg;  		} | 
