summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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>
+% }