Minor fixes and changes.

Slightly altered the text in Admin Home, fixed an issue with the tree list.
This commit is contained in:
tersiswilvin 2022-09-01 02:36:27 -07:00
parent d28df2f38b
commit a4d7eab5de
2 changed files with 6 additions and 6 deletions

View File

@ -41,7 +41,7 @@
{{ App\Models\InviteKey::count() }}
</span>
<span class="Stats">
Invite Keys
Invite Key(s)
</span>
</div>
<div class="Stats-Wrapper">
@ -49,7 +49,7 @@
{{ App\Models\InviteKey::where('active', true)->count() }}
</span>
<span class="Stats">
Unused Invite Keys
Unused Invite Key(s)
</span>
</div>
</div>

View File

@ -36,8 +36,8 @@
ID</button>
</div>
</form>
<ul class="SearchTree">
@if ($user)
<ul class="SearchTree">
<li class="Menu">
<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>
@ -49,21 +49,21 @@
<span>{{ $user->name }}</span>
</a>
<a href="{{ route('profile', $user->id) }}" title="{{ $user->name }}'s Profile" class="forwardArrow"></a>
@foreach ($children as $child)
<ul class="TreeList">
@foreach ($children as $child)
<li>
<a href="/iphone/tree?q={{ $child->id }}&searchBy=id" title="{{ $child->name }}'s Invite Tree">
<span>{{ $child->name }}</span>
</a>
<a href="{{ route('profile', $child->id) }}" title="{{ $child->name }}'s Profile" class="forwardArrow"></a>
</li>
</ul>
@endforeach
</ul>
</li>
</ul>
</li>
@endif
</ul>
@endif
</div>
</div>
@endsection