summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/_departures_hafas.html.ep4
-rw-r--r--templates/_departures_iris.html.ep5
2 files changed, 9 insertions, 0 deletions
diff --git a/templates/_departures_hafas.html.ep b/templates/_departures_hafas.html.ep
index f611d8e..58bdb02 100644
--- a/templates/_departures_hafas.html.ep
+++ b/templates/_departures_hafas.html.ep
@@ -36,6 +36,10 @@
</a>
<span class="dep-dest">
%= $result->destination
+ % for my $checkin (@{$checkin_by_train->{$result->id} // []}) {
+ <span class="followee-checkin">
+ <i class="material-icons tiny">people</i> <%= $checkin->{followee_name} %> → <%= $checkin->{arr_name} // '???' %>
+ </span>
% }
</span>
</li>
diff --git a/templates/_departures_iris.html.ep b/templates/_departures_iris.html.ep
index 237757c..2c47016 100644
--- a/templates/_departures_iris.html.ep
+++ b/templates/_departures_iris.html.ep
@@ -41,6 +41,11 @@
</a>
<span class="dep-dest">
%= $result->destination
+ % for my $checkin (@{$checkin_by_train->{$result->train_id} // []}) {
+ <span class="followee-checkin">
+ <i class="material-icons tiny">people</i> <%= $checkin->{followee_name} %> → <%= $checkin->{arr_name} // '???' %>
+ </span>
+ % }
</span>
</li>
% }