summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sass/src/common/local.scss6
-rw-r--r--templates/_departures_hafas.html.ep7
2 files changed, 10 insertions, 3 deletions
diff --git a/sass/src/common/local.scss b/sass/src/common/local.scss
index 2ba0ffa..c8b00bb 100644
--- a/sass/src/common/local.scss
+++ b/sass/src/common/local.scss
@@ -122,12 +122,12 @@ ul.suggestions {
}
.departures .dep-dest {
margin-left: 0.8rem;
+ i.material-icons {
+ vertical-align: middle;
+ }
.followee-checkin {
font-size: 0.9rem;
display: block;
- i.material-icons {
- vertical-align: middle;
- }
}
}
diff --git a/templates/_departures_hafas.html.ep b/templates/_departures_hafas.html.ep
index 012db61..5825ba0 100644
--- a/templates/_departures_hafas.html.ep
+++ b/templates/_departures_hafas.html.ep
@@ -41,6 +41,13 @@
% }
% else {
%= $result->destination
+ % if ($result->load and $result->load->{SECOND}) {
+ % my ($first, $second) = load_icon($result->load);
+ % if ($first ne 'help_outline') {
+ <i class="material-icons tiny" aria-hidden="true"><%= $first %></i>
+ % }
+ <i class="material-icons tiny" aria-hidden="true"><%= $second %></i>
+ % }
% for my $checkin (@{$checkin_by_train->{$result->id} // []}) {
<span class="followee-checkin">
<i class="material-icons tiny" aria-label="Eine Person, der du folgst, ist hier eingecheckt">people</i>