diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-21 19:14:07 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-21 19:14:07 +0100 |
commit | 50f578d8aa31e3d76e7f2286d335ebe5b441955a (patch) | |
tree | 8f10586dfe0b9a1d3337511efcf82ec23d9a3978 | |
parent | f9d1ea47ff7a444f4468aa4fbfade1120d500066 (diff) |
oops3.8.2
-rw-r--r-- | templates/_train_attr.html.ep | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/_train_attr.html.ep b/templates/_train_attr.html.ep new file mode 100644 index 0000000..ca19138 --- /dev/null +++ b/templates/_train_attr.html.ep @@ -0,0 +1,15 @@ +% if ($attr->{series}) { + <span>BR <%= $details->{commonAttr}{series} %></span> +% } +% if ($attr->{length}) { + <span>⇤ <%= $attr->{length} %>m ⇥</span> +% } +% if ($attr->{vmax}) { + <span><%= $attr->{vmax} %> km/h</span> +% } +% if ($attr->{brakingPercentage}) { + <span>λ=<%= $attr->{brakingPercentage} %></span> +% } +% if ($attr->{station} and $with_station) { + <span><%= $attr->{station} %></span> +% } |