summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm5
-rw-r--r--templates/_train_details.html.ep3
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 3ac56d0..c79a743 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -357,7 +357,10 @@ sub format_iris_result_info {
. ( $info ? ' +++ ' : q{} )
. $info;
if ( $template ne 'json' ) {
- push( @{$moreinfo}, [ 'Zusätzliche Halte', $additional_line ] );
+ push(
+ @{$moreinfo},
+ [ 'Außerplanmäßiger Halt in', $additional_line ]
+ );
}
}
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index 5feb8a6..f713094 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -128,6 +128,9 @@
% }
% else {
%= $pair->[0]
+% if (length($pair->[0]) > 25) {
+ <br/>
+% }
% }
<span class="reason">
%= $pair->[1]