diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-25 23:04:36 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-25 23:04:36 +0200 |
commit | 45a4089431002ee01b11880d463dd3513b0657ca (patch) | |
tree | 0b5e655681a92fa3347547dd6be631c5bddcf206 /templates/_connections.html.ep | |
parent | 302a6a144e12d411b41691edf7c14a82e4af6d16 (diff) |
Handle missing platform numbers1.6.3
Diffstat (limited to 'templates/_connections.html.ep')
-rw-r--r-- | templates/_connections.html.ep | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index d421d4e..2506829 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -22,7 +22,7 @@ % if ($train->departure_delay) { %= sprintf('(%+d)', $train->departure_delay) % } - <br/>Gleis <%= $train->platform %></td> + <br/>Gleis <%= $train->platform || '?' %></td> </tr> % } </tbody></table></div> @@ -50,7 +50,7 @@ % if ($train->departure_delay) { %= sprintf('(%+d)', $train->departure_delay) % } - </td><td>Gleis <%= $train->platform %></td> + </td><td>Gleis <%= $train->platform || '?' %></td> </tr> % } </tbody></table></div> |