summaryrefslogtreecommitdiff
path: root/templates/_train_attr.html.ep
blob: a23d9aca17d60558d476a6f70adad39f14b18c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
% if ($attr->{series}) {
  <span>BR <%= $attr->{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>ab <%= $attr->{station} %></span>
% }