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/route_map.html.ep | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates/route_map.html.ep') diff --git a/templates/route_map.html.ep b/templates/route_map.html.ep index 6f5643b..1ba96bc 100644 --- a/templates/route_map.html.ep +++ b/templates/route_map.html.ep @@ -1,6 +1,9 @@ -% if ($origin and $destination) { +% if (stash('origin') and stash('destination')) { %= include '_map_infobox' % } +% elsif (stash('intersection')) { + %= include '_intersection_infobox' +% }
-- cgit v1.2.3