File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
@foreach ($statuses as $status )
2
2
@if ($showDates && ($loop -> first || ! $status -> checkin -> departure -> isSameDay ($statuses [$loop -> index - 1 ]-> checkin -> departure )) )
3
3
<h2 class =" mb-2 fs-5" >
4
- {{ userTime ($status -> checkin -> departure , __ (' dateformat.with-weekday' ))} }
5
- @if (Route:: is (' profile' ) && $user -> is (Auth:: user ()) )
6
- <a href =" {{ route (' stats.daily' , [' dateString' => $status -> checkin -> departure -> toDateString ()])} }"
7
- class =" text-trwl"
8
- >
4
+ {{ userTime ($status -> checkin -> departure , __ (' dateformat.with-weekday' )) } }
5
+ @if (Route:: is (' profile' ) && isset ($user ) && $user -> is (Auth:: user ()) )
6
+ <a href =" {{ route (' stats.daily' , [' dateString' => $status -> checkin -> departure -> toDateString ()]) } }"
7
+ class =" text-trwl" aria-label =" {{ __ (' stats.daily' ) } }" >
9
8
<i class =" fa-solid fa-map-location-dot" aria-hidden =" true" ></i >
10
9
</a >
11
10
@endif
You can’t perform that action at this time.
0 commit comments