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 id="FriendsContainerBox1TextContainer">
<a href="{{ route('profile', $user->id) }}" id="FeedContainerBox1Username">{{ $user->name }}</a>
<p>"I'm new to ARCHBLOX!"</p>
@if (Cache::has('is_online_' . $user->id))
@if (!empty($user->feedposts->last()->status))
<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>
@else
<strong id="onlinestatus" class="onlinestatus_offline">Offline - Last Online