Fixed User list
Fixed an issue where view all redirects to the users profile.
This commit is contained in:
parent
67b6941266
commit
ed45b7728c
|
|
@ -42,12 +42,14 @@
|
|||
<a title="{{ $invited_by }}'s Invite Tree" href="/iphone/tree?q={{ App\Models\User::where('name', $invited_by)->first()->id }}&searchBy=id">
|
||||
<span>{{ $invited_by }}</span>
|
||||
</a>
|
||||
<a href="/iphone/users?q={{ App\Models\User::where('name', $invited_by)->first()->id }}&searchBy=id" title="View {{ App\Models\User::where('name', $invited_by)->first()->name }}'s Details" class="userInfo"></a>
|
||||
<a href="{{ route('profile', App\Models\User::where('name', $invited_by)->first()->id) }}" title="{{ $invited_by }}'s Profile" class="forwardArrow"></a>
|
||||
<ul id="DropDown" class="TreeList">
|
||||
<li class="subList">
|
||||
<a href="{{ route('profile', $user->id) }}" title="{{ $user->name }}'s Profile" class="RedirectArrow">
|
||||
<span>{{ $user->name }}</span>
|
||||
</a>
|
||||
<a href="/iphone/users?q={{ $user->id }}&searchBy=id" title="View {{ $user->name }}'s Details" class="userInfo"></a>
|
||||
<ul class="TreeList">
|
||||
@foreach ($children as $child)
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@
|
|||
<div class="text-secondary">
|
||||
View
|
||||
</div>
|
||||
<a href="{{ route('profile', App\Models\User::where('id', $user->invited_by)->first()->id) }}" title="View invite tree from {{ $user->name }}" class="AuthenticatedUserName">
|
||||
<a href="/iphone/tree?q={{ $user->id }}&searchBy=id" title="View invite tree from {{ $user->name }}" class="AuthenticatedUserName">
|
||||
Invite Tree
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue