From 9a000fb08e43f4759204eb2a1ba598f25c2d7334 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Fri, 7 Oct 2022 20:03:09 +0100 Subject: [PATCH] Remove superfluous meta from finished trips --- resources/views/tracker.blade.php | 2 ++ 1 file changed, 2 insertions(+) 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)) }})