diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-10-08 09:48:52 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-10-08 09:48:52 +0200 |
commit | 1d2cdb99fd41f0bb2c53c0aeaf928d0ca412b5ee (patch) | |
tree | a65fef5364b8beb51a3493ef943b54873c0089fa /lib | |
parent | f9bcaf904c1a1358f280f81bf0c9c4938600b4f0 (diff) |
messages: add icon for Großstörung (== Störung)
Diffstat (limited to 'lib')
-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 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.}{: } ) { |