Commit af16bdb6 by Novan Bagus Setiawan

Revert "ilangin dd"

This reverts commit c8f15541.
parent c8f15541
......@@ -42,12 +42,12 @@
<div class="dropdown d-inline-block">
<button type="button" class="btn header-item waves-effect" id="page-header-user-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{-- @php dd(Auth::user()->roles->first()); @endphp --}}
{{-- @if (Auth::user()->roles->first()->name != 'mahasiswa')
@if (Auth::user()->roles->first()->name != 'mahasiswa')
<img src="{{ is_null(Auth::user()->rBiodata) ? asset('theme/images/users/user-null.jpg') : is_null(Auth::user()->rBiodata->noidentitas) ? asset('theme/images/users/user-null') : 'https://siakadu.unesa.ac.id/photo/fotomhs/'.Auth::user()->rBiodata->noidentitas }}.jpg" alt="Header Avatar" class="rounded-circle header-profile-user" >
@else
<img src="{{ is_null(Auth::user()->rBiodata) ? asset('theme/images/users/user-null.jpg') : is_null(Auth::user()->rBiodata->noidentitas) ? asset('theme/images/users/user-null') : 'https://siakadu.unesa.ac.id/photo/'.Auth::user()->rBiodata->noidentitas }}.jpg" alt="Header Avatar" class="rounded-circle header-profile-user" >
@endif --}}
@endif
</button>
<div class="dropdown-menu dropdown-menu-end">
<!-- item-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment