From 1d2cdb99fd41f0bb2c53c0aeaf928d0ca412b5ee Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 8 Oct 2022 09:48:52 +0200 Subject: messages: add icon for Großstörung (== Störung) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/DBInfoscreen/Controller/Stationboard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 7b66dbc..d0d4c13 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -808,7 +808,7 @@ sub render_train { if ( $m->[0] =~ s{: Information.}{: } ) { $m->[1]{icon} = 'info_outline'; } - elsif ( $m->[0] =~ s{: Störung.}{: } ) { + elsif ( $m->[0] =~ s{: (?:Großs|S)törung.}{: } ) { $m->[1]{icon} = 'warning'; } elsif ( $m->[0] =~ s{: Bauarbeiten.}{: } ) { -- cgit v1.2.3