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