fixed #1512
This commit is contained in:
parent
588c553a6e
commit
acacacbe62
@ -232,13 +232,11 @@
|
|||||||
@else
|
@else
|
||||||
<img src="{{ asset('public/img/user.svg') }}" class="user-img" alt="{{ $user->name }}"/>
|
<img src="{{ asset('public/img/user.svg') }}" class="user-img" alt="{{ $user->name }}"/>
|
||||||
@endif
|
@endif
|
||||||
<div class="media-body ml-2 d-none d-lg-block">
|
@if (!empty($user->name))
|
||||||
<span class="mb-0 text-sm font-weight-bold">
|
<div class="media-body ml-2 d-none d-lg-block">
|
||||||
@if (!empty($user->name))
|
<span class="mb-0 text-sm font-weight-bold">{{ $user->name }}</span>
|
||||||
{{ $user->name }}
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -91,14 +91,16 @@
|
|||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link pr-0" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<a class="nav-link pr-0" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
<div class="media align-items-center">
|
<div class="media align-items-center">
|
||||||
<img src="{{ asset('public/img/user.svg') }}" height="36" width="36" alt="User"/>
|
@if (is_object($user->picture))
|
||||||
<div class="media-body ml-2">
|
<img src="{{ Storage::url($user->picture->id) }}" class="rounded-circle image-style user-img" alt="{{ $user->name }}"/>
|
||||||
<span class="mb-0 text-sm font-weight-bold">
|
@else
|
||||||
@if (!empty($user->name))
|
<img src="{{ asset('public/img/user.svg') }}" class="user-img" alt="{{ $user->name }}"/>
|
||||||
{{ $user->name }}
|
@endif
|
||||||
@endif
|
@if (!empty($user->name))
|
||||||
</span>
|
<div class="media-body ml-2">
|
||||||
</div>
|
<span class="mb-0 text-sm font-weight-bold">{{ $user->name }}</span>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu dropdown-menu-right">
|
<div class="dropdown-menu dropdown-menu-right">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user