summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-06-15 18:01:51 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-06-15 18:01:51 +0200
commit861471417d1a1946784efbe373c83506799e8eda (patch)
tree144bfed81ccfb2e34673b3e1b0cb68cc45fc472c /templates
parent0893613bf7825ca4fb98f63a67d99c47775ec0dc (diff)
EFA, HAFAS: Store trip operator(s)2.14.2
Closes #142
Diffstat (limited to 'templates')
-rw-r--r--templates/journey.html.ep8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index e97c729..1f842bf 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -166,6 +166,14 @@
% }
</td>
</tr>
+ % if ($journey->{user_data}{operator} or scalar @{ $journey->{user_data}{operators} // [] }) {
+ <tr>
+ <th scope="row">Betrieb</th>
+ <td>
+ %= $journey->{user_data}{operator} // join(q{, }, @{$journey->{user_data}{operators}})
+ </td>
+ </tr>
+ % }
% if ($journey->{messages} and @{$journey->{messages}}) {
<tr>
<th scope="row">Meldungen</th>