From 9710189897448f3f4a144e27325578c900250068 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 28 Jun 2020 08:59:40 +0200 Subject: add experimental (and unreferenced) train intersection calculation --- templates/_intersection_infobox.html.ep | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 templates/_intersection_infobox.html.ep (limited to 'templates/_intersection_infobox.html.ep') diff --git a/templates/_intersection_infobox.html.ep b/templates/_intersection_infobox.html.ep new file mode 100644 index 0000000..cb27d19 --- /dev/null +++ b/templates/_intersection_infobox.html.ep @@ -0,0 +1,22 @@ +
+
+ <%= stash('train1_no') %> + und + <%= stash('train2_no') %> + werden sich wahrscheinlich + % if (my $t = stash('time')) { + gegen <%= $t->strftime('%H:%M') %> Uhr + % } + % if (my $p = stash('likely_pair')) { + zwischen <%= $p->[0] %> und <%= $p->[1] %> + % } + % if (not stash('time')) { + nicht + % } + begegnen. +
+
-- cgit v1.2.3