summaryrefslogtreecommitdiff
path: root/templates/_train_attr.html.ep
blob: dad21e4f75dbebbf0fb4b1c4fcf0497724a92175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
% if ($attr->{vmax}) {
  <span><%= $attr->{vmax} %> km/h</span>
% }
% if ($attr->{length}) {
   <span>⇤ <%= $attr->{length} %>m ⇥</span>
% }
% if ($attr->{weight}) {
   <span><%= $attr->{weight} %>t</span>
% }
% if ($attr->{brakingPercentage}) {
  <span>λ=<%= $attr->{brakingPercentage} %></span>
% }
% if ($with_station and $attr->{range}[0]) {
  <span>ab <%= $attr->{range}[0] %></span>
% }