Add checkin images to list
This commit is contained in:
parent
8b793de39d
commit
a75d45b03f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue