summaryrefslogtreecommitdiff
path: root/templates/journey.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-06-08 22:18:31 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-06-08 22:18:31 +0200
commitf71348a8a8b7d76e135efb32d94a61b2bd15711f (patch)
tree46e2562cbb5dc869f45488c2781978967067a9e2 /templates/journey.html.ep
parentc969424c2d27bd862354b29a43082ded885dc69f (diff)
Store journey backend; do not rely on '|' in ID to distinguish IRIS/HAFAS
This is in preparation for supporting multiple HAFAS backends, and possibly EFA and RIS::Journeys.
Diffstat (limited to 'templates/journey.html.ep')
-rw-r--r--templates/journey.html.ep7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index f5eebfc..fc2b56d 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -261,6 +261,13 @@
% if (stash('polyline_groups')) {
%= include '_map', station_coordinates => stash('station_coordinates'), polyline_groups => stash('polyline_groups')
% }
+ <div class="row">
+ <div class="col s12">
+ Backend:
+ <i class="material-icons tiny" aria-hidden="true"><%= $journey->{is_iris} ? 'train' : 'directions' %></i>
+ %= $journey->{backend_name} || 'IRIS'
+ </div>
+ </div>
% if (not stash('readonly')) {
% if (stash('with_share')) {
<div class="row">