diff --git a/resources/views/tracker.blade.php b/resources/views/tracker.blade.php index 83391cf..c6e788a 100644 --- a/resources/views/tracker.blade.php +++ b/resources/views/tracker.blade.php @@ -28,7 +28,9 @@
Tracking started: {{ date('j M Y (G:H)', strtotime($trip->date_start)) }} | {{ ($trip->is_active) ? "Active" : "Ended" }} | + @if ($trip->is_active) {{ ($trip->is_tracking) ? "Currently tracking" : "Not currently tracking" }} + @endif (Last update: {{ date('j M Y (G:H)', strtotime($trip->updated_at)) }})