Update requests.blade.php
This commit is contained in:
parent
1d72517e65
commit
ca58969f15
|
|
@ -20,7 +20,8 @@
|
||||||
<a href="{{ route('profile', $user->id) }}"><img alt="Profile Image"
|
<a href="{{ route('profile', $user->id) }}"><img alt="Profile Image"
|
||||||
src="{{ asset('img/defaultrender.png') }}" width="60px" height="60px"></a>
|
src="{{ asset('img/defaultrender.png') }}" width="60px" height="60px"></a>
|
||||||
</div>
|
</div>
|
||||||
<div id="FriendsContainerBox1TextContainer">
|
<div class="content_special" style="justify-content: space-between; align-items: center; padding-right: 5px" id="FriendsContainerBox1TextContainer">
|
||||||
|
<div>
|
||||||
<a href="{{ route('profile', $user->id) }}" id="FeedContainerBox1Username">{{ $user->name }}</a>
|
<a href="{{ route('profile', $user->id) }}" id="FeedContainerBox1Username">{{ $user->name }}</a>
|
||||||
@if (!empty($user->feedposts->last()->status))
|
@if (!empty($user->feedposts->last()->status))
|
||||||
<p>"{{ $user->feedposts->last()->status }}"</p>
|
<p>"{{ $user->feedposts->last()->status }}"</p>
|
||||||
|
|
@ -32,7 +33,8 @@
|
||||||
<strong id="onlinestatus" class="onlinestatus_offline">Offline - Last Online
|
<strong id="onlinestatus" class="onlinestatus_offline">Offline - Last Online
|
||||||
{{ Carbon\Carbon::parse($user->last_seen)->diffForHumans() }}</strong>
|
{{ Carbon\Carbon::parse($user->last_seen)->diffForHumans() }}</strong>
|
||||||
@endif
|
@endif
|
||||||
<br>
|
</div>
|
||||||
|
<div>
|
||||||
<form action="{{ route('friend_handle', $user->id) }}" method="POST">
|
<form action="{{ route('friend_handle', $user->id) }}" method="POST">
|
||||||
@csrf
|
@csrf
|
||||||
<button class="greenbutton" name="action" type="submit" value="accept">Accept</button>
|
<button class="greenbutton" name="action" type="submit" value="accept">Accept</button>
|
||||||
|
|
@ -40,6 +42,7 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
@if (!count($userRequests))
|
@if (!count($userRequests))
|
||||||
<p>You have no pending friend requests.</p>
|
<p>You have no pending friend requests.</p>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue