summaryrefslogtreecommitdiff
path: root/templates/trainsearch.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-08-13 14:52:32 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-08-13 14:52:32 +0200
commitca372be9811a183d11a00abd539442a9e2e53cae (patch)
tree1017345c15999c675fcd5e177a65e10b9f1b9ecd /templates/trainsearch.html.ep
parent7eb656dd0a461f2782e601753ee96736b7ef0d3c (diff)
Wagonorder: send request to www.apps-bahn.de when availability is unknown
www.apps-bahn.de/wr no longer serves "tryThese" suggestions. So, unless we know from lib.finalrewind.org/dbdb/has_wagonorder (via ist-wr.noncd.db.de) that the trais definitely has a wagon order, we send a wagon order request to www.apps-bahn.de/wr to determine whether it has one or not. We do cache the result though, so if a user clicks on the wagon order link, we don't need to request it again.
Diffstat (limited to 'templates/trainsearch.html.ep')
0 files changed, 0 insertions, 0 deletions