diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_departures_efa.html.ep | 3 | ||||
-rw-r--r-- | templates/_show_load_icons.html.ep | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/_departures_efa.html.ep b/templates/_departures_efa.html.ep index 6aec1c8..0abd887 100644 --- a/templates/_departures_efa.html.ep +++ b/templates/_departures_efa.html.ep @@ -47,6 +47,9 @@ <%= $checkin->{followee_name} %> → <%= $checkin->{arr_name} // '???' %> </span> % } + % if ($result->occupancy) { + <i class="material-icons tiny" aria-hidden="true"><%= efa_load_icon($result->occupancy) %></i> + % } % } </span> </li> diff --git a/templates/_show_load_icons.html.ep b/templates/_show_load_icons.html.ep index e69dab5..21093b9 100644 --- a/templates/_show_load_icons.html.ep +++ b/templates/_show_load_icons.html.ep @@ -5,3 +5,7 @@ % } <i class="material-icons tiny" aria-hidden="true"><%= $second %></i> % } +% elsif ($station->[2]{efa_load}) { + % my ($icon) = efa_load_icon($station->[2]{efa_load}); + <i class="material-icons tiny" aria-hidden="true"><%= $icon %></i> +% } |