From 88b2cb36297ad2dcd661040b79a04c6fb34ed319 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 12 Sep 2015 00:41:16 +0200 Subject: support all known EFA entry points --- templates/main.html.ep | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/main.html.ep b/templates/main.html.ep index 67a4c5b..cfe4cd2 100644 --- a/templates/main.html.ep +++ b/templates/main.html.ep @@ -146,7 +146,10 @@ other German transit networks.
backend
- %= select_field backend => [['EFA / VRR' => 'vrr'], ['DB (HAFAS)' => 'db'], ['ASEAG (URA)' => 'aseag']] + % my @efa_backends = map { ["$_ (EFA)" => "efa.$_"] } efa_service_list(); + % @efa_backends = map { $_->[1] } sort { $a->[0] cmp $b->[0] } + % map { [$_->[0], $_] } @efa_backends; + %= select_field backend => [['EFA / VRR' => 'vrr'], ['DB (HAFAS)' => 'db'], ['ASEAG (URA)' => 'aseag'], @efa_backends]
-- cgit v1.2.3