diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-21 19:33:50 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-21 19:33:50 +0100 |
commit | 843ee82289199ee77999ffcacdce72081843a9d4 (patch) | |
tree | 307a23a860bd8a86ae8262e2a8423f1689bae403 /templates/_train_attr.html.ep | |
parent | 6cc3cff5be398ef908ada74a73d794d062995c8e (diff) |
trainattr: show second powercar if present3.8.4
Diffstat (limited to 'templates/_train_attr.html.ep')
-rw-r--r-- | templates/_train_attr.html.ep | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/_train_attr.html.ep b/templates/_train_attr.html.ep index a23d9ac..4f7e9ca 100644 --- a/templates/_train_attr.html.ep +++ b/templates/_train_attr.html.ep @@ -1,5 +1,9 @@ % if ($attr->{series}) { - <span>BR <%= $attr->{series} %></span> + <span>BR <%= $attr->{series} %> +% if ($attr->{series2}) { + + <%= $attr->{series2} %> +% } + </span> % } % if ($attr->{length}) { <span>⇤ <%= $attr->{length} %>m ⇥</span> |