Update friends.blade.php
This commit is contained in:
parent
af5f10fb25
commit
cdc7f074d8
|
|
@ -19,7 +19,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" 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,11 +33,13 @@
|
||||||
<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_remove', $user->id) }}" method="POST" style="display:inline-block">
|
<form action="{{ route('friend_remove', $user->id) }}" method="POST" style="display:inline-block">
|
||||||
@csrf
|
@csrf
|
||||||
<button class="redbutton" type="submit">Unfriend</button>
|
<button class="redbutton" type="submit">Unfriend</button>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue