diff options
| -rw-r--r-- | templates/_train_details.html.ep | 12 | 
1 files changed, 9 insertions, 3 deletions
| diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index a0829b6..fd18623 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -280,7 +280,9 @@            <%= $stop->{name} %></a>  %         if ($stop->{load}{FIRST} or $stop->{load}{SECOND}) {  %           my ($text, $icon1, $icon2) = utilization_icon([$stop->{load}{FIRST}, $stop->{load}{SECOND}]); -            <i class="material-icons" aria-hidden="true"><%= $icon1 %></i> +            % if ($icon1 ne 'help_outline') { +              <i class="material-icons" aria-hidden="true"><%= $icon1 %></i> +            % }              <i class="material-icons" aria-hidden="true"><%= $icon2 %></i>  %         }            </li> @@ -323,7 +325,9 @@              <strong><%= stash('station_name') %></strong>  %           if (my $u = $departure->{utilization}) {  %             my ($text, $icon1, $icon2) = utilization_icon($u); -              <i class="material-icons" aria-hidden="true"><%= $icon1 %></i> +            % if ($icon1 ne 'help_outline') { +                <i class="material-icons" aria-hidden="true"><%= $icon1 %></i> +            % }                <i class="material-icons" aria-hidden="true"><%= $icon2 %></i>  %           }            </li> @@ -371,7 +375,9 @@            <%= $stop->{name} %></a>  %         if ($stop->{load}{FIRST} or $stop->{load}{SECOND}) {  %           my ($text, $icon1, $icon2) = utilization_icon([$stop->{load}{FIRST}, $stop->{load}{SECOND}]); -            <i class="material-icons" aria-hidden="true"><%= $icon1 %></i> +            % if ($icon1 ne 'help_outline') { +              <i class="material-icons" aria-hidden="true"><%= $icon1 %></i> +            % }              <i class="material-icons" aria-hidden="true"><%= $icon2 %></i>  %         }            </li> | 
