departure board: restyled followee checkin notice, add it for hafas too

This commit is contained in:
Cassidy Dingenskirchen 2023-10-22 14:43:41 +02:00
parent f1d3d3ed93
commit 6686a16bbf
No known key found for this signature in database
GPG key ID: 14FE9712CC42FE8B
2 changed files with 9 additions and 0 deletions

View file

@ -36,6 +36,10 @@
</a> </a>
<span class="dep-dest"> <span class="dep-dest">
%= $result->destination %= $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> </span>
</li> </li>

View file

@ -41,6 +41,11 @@
</a> </a>
<span class="dep-dest"> <span class="dep-dest">
%= $result->destination %= $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> </span>
</li> </li>
% } % }