summaryrefslogtreecommitdiff
path: root/templates/_connections.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_connections.html.ep')
-rw-r--r--templates/_connections.html.ep8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep
index 913de73..e4f1872 100644
--- a/templates/_connections.html.ep
+++ b/templates/_connections.html.ep
@@ -1,6 +1,6 @@
<div><table class="striped"><tbody>
% for my $res (@{$connections}) {
- % my ($train, $via, $via_arr) = @{$res};
+ % my ($train, $via, $via_arr, $load) = @{$res};
% $via_arr = $via_arr ? $via_arr->strftime('%H:%M') : q{};
% my $td_class = '';
% my $link_class = 'action-checkin';
@@ -39,6 +39,10 @@
%= $via
% }
<br/>
+ % if ($load) {
+ % my ($first, $second) = load_icon($load);
+ <i class="material-icons tiny" aria-hidden="true"><%= $first %></i> <i class="material-icons tiny" aria-hidden="true"><%= $second %></i>
+ % }
% if ($train->{interchange_icon}) {
<i class="material-icons tiny" aria-label="<%= $train->{interchange_text} %>"><%= $train->{interchange_icon} %></i>
% }
@@ -46,7 +50,7 @@
<i class="material-icons tiny" aria-label="Zug ist überbesetzt">warning</i>
% }
% if ($train->{message_id}{82} or $train->{message_id}{85}) {
- <i class="material-icons tiny" aria-label="Fehlende Wagen">people</i>
+ <i class="material-icons tiny" aria-label="Fehlende Wagen">remove</i>
% }
% if (($train->{message_id}{73} or $train->{message_id}{74} or $train->{message_id}{75} or $train->{message_id}{76} or $train->{message_id}{80}) and not $train->{message_id}{84}) {
<i class="material-icons tiny" aria-label="Abweichende Wagenreihung">compare_arrows</i>