diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-12-18 15:12:36 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-12-18 15:12:36 +0100 |
commit | bcc90ffec5bcc389e60ff833253b66419c53834c (patch) | |
tree | 3b2f7af6042364fbcaa876fa0c3742602d9ac164 /templates | |
parent | fbb1fb9818cab96035e6071abc8b259168701195 (diff) |
fix infoscreen display bug in case of empty/undefined platforms
Diffstat (limited to 'templates')
-rw-r--r-- | templates/infoscreen.html.ep | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep index 2980806..145c831 100644 --- a/templates/infoscreen.html.ep +++ b/templates/infoscreen.html.ep @@ -179,12 +179,12 @@ % else { %= $departure->time % } - <span class="platform"> % if ($departure->can('platform') and $departure->platform) { -%= $departure->platform + <span class="platform"> +%= $departure->platform + </span> % } </span> - </span> </li> % } </ul> |