summaryrefslogtreecommitdiff
path: root/templates/_intersection_infobox.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-05 08:33:53 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-05 08:33:53 +0200
commitc8383c697ac9108b195696a5ca371e79d224225f (patch)
tree1e799fa158ba07ea264785f19635708855ac557c /templates/_intersection_infobox.html.ep
parent8bf1dd3575bf58f1a50b28747f12f65a26b5a281 (diff)
parent37c510b2d351ea0c1c50ecceec21452de89afebf (diff)
Merge branch 'master' of git.finalrewind.org:var/git_root/db-fakedisplay into master3.1.3
Diffstat (limited to 'templates/_intersection_infobox.html.ep')
-rw-r--r--templates/_intersection_infobox.html.ep22
1 files changed, 22 insertions, 0 deletions
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 @@
+<div class="container" id="infobox2" style="margin-top: 1ex; margin-bottom: 1ex;">
+<div class="journey" id="jdata"
+data-req="<%= stash('ajax_req') %>"
+data-route="<%= stash('ajax_route') %>"
+data-poly="<%= stash('ajax_polyline') %>"
+>
+ <strong><%= stash('train1_no') %></strong>
+ und
+ <strong><%= stash('train2_no') %></strong>
+ werden sich wahrscheinlich
+ % if (my $t = stash('time')) {
+ gegen <strong><%= $t->strftime('%H:%M') %> Uhr</strong>
+ % }
+ % if (my $p = stash('likely_pair')) {
+ zwischen <strong><%= $p->[0] %></strong> und <strong><%= $p->[1] %></strong>
+ % }
+ % if (not stash('time')) {
+ nicht
+ % }
+ begegnen.
+</div>
+</div>