This commit is contained in:
parent
ca58969f15
commit
b8ff18da7e
|
|
@ -4,11 +4,15 @@
|
|||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="PageTitleBar">
|
||||
<h1 id="usernameframe">Your Mutual Friends with {{ $user->name }} ({{ Auth::user()->getMutualFriendsCount($user) }})</h1>
|
||||
<div>
|
||||
<a href="{{ route('profile_friends', $user->id) }}" class="tab">All Friends</a>
|
||||
@auth
|
||||
<a href="#" class="tab_selected">Mutual Friends ({{ Auth::user()->getMutualFriendsCount($user) }})</a>
|
||||
@endauth
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<div class="content_special" id="FriendsContainer" style="flex-wrap: wrap;">
|
||||
|
|
|
|||
|
|
@ -4,13 +4,17 @@
|
|||
@endsection
|
||||
|
||||
@section('content')
|
||||
<h1 id="usernameframe">{{ $user->name }}'s Friends ({{ $user->getFriendsCount() }})</h1>
|
||||
<div class="PageTitleBar">
|
||||
<h1 id="usernameframe">Friends ({{ Auth::user()->getFriendsCount() }})</h1>
|
||||
<div>
|
||||
<a href="#" class="tab_selected">All Friends</a>
|
||||
@auth
|
||||
@if ($user->id != Auth::id())
|
||||
<a href="{{ route('mutual_friends', $user->id) }}" class="tab">Mutual Friends ({{ Auth::user()->getMutualFriendsCount($user) }})</a>
|
||||
@endif
|
||||
@endauth
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<div class="content_special" id="FriendsContainer" style="flex-wrap: wrap;">
|
||||
|
|
|
|||
Loading…
Reference in New Issue