Fix checkin nmbering
This commit is contained in:
parent
26684b6dc2
commit
6dea57778e
1 changed files with 2 additions and 2 deletions
|
@ -37,9 +37,9 @@
|
|||
<main id="routeContainer">
|
||||
<div id="map"></div>
|
||||
<section id="checkinList">
|
||||
<ol reversed>
|
||||
<ol start="{{ count($trip->checkins) }}" reversed>
|
||||
@foreach(array_slice(array_reverse($trip->checkins), 0, 15) as $checkin)
|
||||
<li>
|
||||
<li n>
|
||||
<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>
|
||||
{{ $checkin->note ?? "[No note]" }}
|
||||
|
|
Loading…
Reference in a new issue