From 6563a4b5e2f30a82e252f9ffd95a0a5da76d4c26 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Wed, 19 Oct 2022 22:53:52 +0000 Subject: [PATCH] Fix past trip view --- resources/views/past-trip.blade.php | 109 ---------------------------- resources/views/tracker.blade.php | 2 +- routes/web.php | 8 +- 3 files changed, 5 insertions(+), 114 deletions(-) delete mode 100644 resources/views/past-trip.blade.php diff --git a/resources/views/past-trip.blade.php b/resources/views/past-trip.blade.php deleted file mode 100644 index e269d54..0000000 --- a/resources/views/past-trip.blade.php +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - Tracking | Ben Goldsworthy - - - - - - - - -
-

{{ $trip->name }}

- - -
-

- Tracking started: {{ date('j M Y (G:H)', strtotime($trip->date_start)) }} | - Tracking Ended: {{ date('j M Y (G:H)', strtotime($trip->updated_at)) }} -

-
-
- -
-
-
-
    - @foreach(array_reverse($trip->checkins) as $checkin) -@if($checkin->id != 2607) -
  1. -
    -

    {{ $checkin->title ?? "[No title]" }}

    {{ date('j M Y (G:H)', strtotime($checkin->date)) }}
    - {{ $checkin->note ?? "[No note]" }} -@if($checkin->image_url) - -@endif -
    -
  2. -@endif - @endforeach -
-
-
- - - - diff --git a/resources/views/tracker.blade.php b/resources/views/tracker.blade.php index 20c11de..d70a79b 100644 --- a/resources/views/tracker.blade.php +++ b/resources/views/tracker.blade.php @@ -17,7 +17,7 @@