Commit c8f15541 by Novan Bagus Setiawan

ilangin dd

parent 71085e33
...@@ -42,12 +42,12 @@ ...@@ -42,12 +42,12 @@
<div class="dropdown d-inline-block"> <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"> <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 --}} {{-- @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" > <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 @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" > <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> </button>
<div class="dropdown-menu dropdown-menu-end"> <div class="dropdown-menu dropdown-menu-end">
<!-- item--> <!-- 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