previous username on profile

This commit is contained in:
Conkley 2022-07-22 16:16:44 +10:00
parent ca136dde50
commit bb4fd7cb8f
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@
@section('content') @section('content')
<div id="profiletopcontainer"> <div id="profiletopcontainer">
<h1 id="usernameframe">{{ $data['user']->name }}</h1> <h1 id="usernameframe">{{ $data['user']->name }}</h1>
@if ($data['user']->settings->changed_name)
<h4>Previous Username: {{ $data['user']->settings->old_name }}</h4>
@endif
@if (Cache::has('is_online_' . $data['user']->id)) @if (Cache::has('is_online_' . $data['user']->id))
<strong id="onlinestatus" class="onlinestatus_website">Website</strong> <strong id="onlinestatus" class="onlinestatus_website">Website</strong>
@else @else