From f5cdad8481c31bd6a4879e9c6efd2c93c64ca6f3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 31 Mar 2021 09:08:17 +0200 Subject: about: reference transport.rest / hafas-rest-api depending on config --- templates/about.html.ep | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/about.html.ep b/templates/about.html.ep index 6a2212d..ae88a8d 100644 --- a/templates/about.html.ep +++ b/templates/about.html.ep @@ -31,7 +31,12 @@ v<%= $Travel::Status::DE::DBWagenreihung::VERSION %> % }
- • Karte: DB HAFAS via v5.db.transport.rest
+ % if (app->config->{hafas_rest_api} =~ m{v5.db.transport.rest}) { + • Karte: DB HAFAS via v5.db.transport.rest
+ % } + % else { + • Karte: DB HAFAS via hafas-rest-api
+ % } • Zugauslastung Fernverkehr: DB HAFAS via marudor.de
• Zugauslastung Regionalverkehr: VRR EFA via eva-to-efa-gw

-- cgit v1.2.3