summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-21 19:14:07 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-21 19:14:07 +0100
commit50f578d8aa31e3d76e7f2286d335ebe5b441955a (patch)
tree8f10586dfe0b9a1d3337511efcf82ec23d9a3978
parentf9d1ea47ff7a444f4468aa4fbfade1120d500066 (diff)
oops3.8.2
-rw-r--r--templates/_train_attr.html.ep15
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>
+% }