Update requests.blade.php

This commit is contained in:
Thomas G 2022-10-15 09:12:36 +11:00
parent 5efe7a6b3f
commit 1d72517e65
1 changed files with 5 additions and 2 deletions

View File

@ -22,8 +22,11 @@
</div> </div>
<div id="FriendsContainerBox1TextContainer"> <div id="FriendsContainerBox1TextContainer">
<a href="{{ route('profile', $user->id) }}" id="FeedContainerBox1Username">{{ $user->name }}</a> <a href="{{ route('profile', $user->id) }}" id="FeedContainerBox1Username">{{ $user->name }}</a>
<p>"I'm new to ARCHBLOX!"</p> @if (!empty($user->feedposts->last()->status))
@if (Cache::has('is_online_' . $user->id)) <p>"{{ $user->feedposts->last()->status }}"</p>
@else
<p>"I'm new to ARCHBLOX!"</p>
@endif @if (Cache::has('is_online_' . $user->id))
<strong id="onlinestatus" class="onlinestatus_website">Website</strong> <strong id="onlinestatus" class="onlinestatus_website">Website</strong>
@else @else
<strong id="onlinestatus" class="onlinestatus_offline">Offline - Last Online <strong id="onlinestatus" class="onlinestatus_offline">Offline - Last Online