From 6526ae6a64c14f9d64a791b778b157f502a5aa0a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 29 Jan 2023 17:40:27 +0100 Subject: add hafas (bus, ubahn, tram) support --- templates/app.html.ep | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'templates/app.html.ep') diff --git a/templates/app.html.ep b/templates/app.html.ep index 6062905..360a2f0 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -30,6 +30,9 @@ % $route_str .= $stop . ($via_cur < $via_max ? ' - ' : q{}); % }
  • % } - +% if (param('hafas')) { + +% } +% else { + +% }
    % if ($departure->{train_type} and $departure->{train_no}) { -- cgit v1.2.3