Add checkin images to list

This commit is contained in:
Ben Goldsworthy 2022-09-21 18:47:53 +00:00
parent 8b793de39d
commit a75d45b03f

View file

@ -37,6 +37,9 @@
<details id="{{ $checkin->id }}" ontoggle="toggleCheckin(this.open, this.id)"> <details id="{{ $checkin->id }}" ontoggle="toggleCheckin(this.open, this.id)">
<summary><h2>{{ $checkin->title ?? "[No title]" }}</h2> <span>{{ date('j M Y (G:H)', strtotime($checkin->date)) }}</span></summary> <summary><h2>{{ $checkin->title ?? "[No title]" }}</h2> <span>{{ date('j M Y (G:H)', strtotime($checkin->date)) }}</span></summary>
{{ $checkin->note ?? "[No note]" }} {{ $checkin->note ?? "[No note]" }}
@if($checkin->image_url)
<img class="popup__image" src="{{ $checkin->image_url }}">
@endif
</details> </details>
</li> </li>
@endif @endif