Unverified Commit 68fcdf3d authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

HAFAS departure board: show load, if available

parent 87946122
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -122,12 +122,12 @@ ul.suggestions {
}
.departures .dep-dest {
	margin-left: 0.8rem;
	.followee-checkin {
		font-size: 0.9rem;
		display: block;
	i.material-icons {
		vertical-align: middle;
	}
	.followee-checkin {
		font-size: 0.9rem;
		display: block;
	}
}

+7 −0
Original line number Diff line number Diff line
@@ -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>