summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-09-12 00:41:16 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-09-12 00:41:16 +0200
commit88b2cb36297ad2dcd661040b79a04c6fb34ed319 (patch)
tree0f7b32acf71ae5598793fd942cb9283c354bc1e3 /templates
parent65634e360e73592369616093ce5b49da38f28796 (diff)
support all known EFA entry points0.09
Diffstat (limited to 'templates')
-rw-r--r--templates/main.html.ep5
1 files changed, 4 insertions, 1 deletions
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.
<div class="field">
<div class="desc">backend</div>
<div>
- %= 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]
</div>
</div>
<div class="field">