diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-05 09:58:44 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-05 09:58:44 +0200 |
commit | 871287f1af916891f63c2b7d7c5ec09d5452d5c9 (patch) | |
tree | 5eadcb939e1198dc74e8ab0f64fc6808aa67c136 /templates/_train_details.html.ep | |
parent | 602e31801e3eff1b4787805c0f4344286a787a0e (diff) |
fix train no mixups in moreinfo view2.0.1
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r-- | templates/_train_details.html.ep | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 5e904d9..b1dfd13 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -3,9 +3,7 @@ % if ($departure->{train_no} or $departure->{train_line}) { <span class="train-line <%= $linetype %>"><%= $departure->{train_type} %> <%= $departure->{train_line} // $departure->{train_no} %></span> -% if ($departure->{train_line}) { - <span class="train-no"><%= $departure->{train_no} %></span> -% } + <span class="train-no"><%= $departure->{train_line} ? $departure->{train_no} : q{} %></span> % } % else { <span class="train-line"><%= $departure->{train} // q{???} %></span> |