From 50f578d8aa31e3d76e7f2286d335ebe5b441955a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 21 Dec 2020 19:14:07 +0100 Subject: oops --- templates/_train_attr.html.ep | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 templates/_train_attr.html.ep 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}) { + BR <%= $details->{commonAttr}{series} %> +% } +% if ($attr->{length}) { + ⇤ <%= $attr->{length} %>m ⇥ +% } +% if ($attr->{vmax}) { + <%= $attr->{vmax} %> km/h +% } +% if ($attr->{brakingPercentage}) { + λ=<%= $attr->{brakingPercentage} %> +% } +% if ($attr->{station} and $with_station) { + <%= $attr->{station} %> +% } -- cgit v1.2.3