#{{ $event->hashtag }}
+
+ {{ __('events.header', ['name' => $event->name]) }}
+ #{{ $event->hashtag }}
+
@if (file_exists(public_path('img/'.$status->trainCheckin->HafasTrip->category.'.svg')))
@@ -53,13 +58,12 @@ class="text-muted">{{ $status->trainCheckin->origin_stopover->departure_planned-
{!! durationToSpan(secondsToDuration($status->trainCheckin->duration * 60)) !!}
- @if($status->business == 1)
+ @if($status->business == \App\Enum\Business::BUSINESS)
- @endif
- @if($status->business == 2)
+ @elseif($status->business == \App\Enum\Business::COMMUTE)
@@ -84,7 +88,9 @@ class="text-muted">{{ $status->trainCheckin->origin_stopover->departure_planned-
@if($status->trainCheckin->departure->isPast() && $status->trainCheckin->arrival->isFuture())
{{ __('stationboard.next-stop') }}
- {!! stationLink(\App\Http\Controllers\FrontendStatusController::nextStation($status)) !!}
+
+ {{\App\Http\Controllers\FrontendStatusController::nextStation($status)?->name}}
+