@extends ('backend.layouts.app') @section('title') {{ __($module_action) }} {{ __($module_title) }} @endsection @section('breadcrumbs') {{ __($module_title) }} Profile @endsection @section('content')
{{ __('Profile') }} {{ __($module_action) }} @lang(":module_name Management Dashboard", ['module_name'=>Str::title($module_name)])
@foreach ($fields_array as $field) @php $field_name = $field['name']; $field_type = isset($field['type'])? $field['type'] : ''; @endphp @if ($field_name == 'date_of_birth' && $userprofile->$field_name != '') @elseif ($field_type == 'date' && $userprofile->$field_name != '') @elseif ($field_type == 'datetime' && $userprofile->$field_name != '') @elseif ($field_type == 'url') @else @endif @endforeach
{{ __('labels.backend.users.fields.avatar') }}
{{ __("labels.backend.users.fields.".$field_name) }} @if(auth()->user()->id == $userprofile->user_id) {{ $userprofile->$field_name->isoFormat('LL') }} @else {{ $userprofile->$field_name->format('jS \\of F') }} @endif {{ $userprofile->$field_name->isoFormat('LL') }} {{ $userprofile->$field_name->isoFormat('llll') }} {{ $userprofile->$field_name }} {{ $userprofile->$field_name }}
{{ __('labels.backend.users.fields.password') }} Change password
{{ __('labels.backend.users.fields.social') }}
    @foreach ($user->providers as $provider)
  • {{ label_case($provider->provider) }}
  • @endforeach
{{ __('labels.backend.users.fields.status') }} {!! $user->status_label !!}
{{ __('labels.backend.users.fields.confirmed') }} {!! $user->confirmed_label !!}
{{ __('labels.backend.users.fields.roles') }} @if($user->roles()->count() > 0)
    @foreach ($user->roles() as $role)
  • {{ ucwords($role) }}
  • @endforeach
@endif
{{ __('labels.backend.users.fields.permissions') }} @if($user->permissions()->count() > 0)
    @foreach ($user->permissions() as $permission)
  • {{ $permission['name'] }}
  • @endforeach
@endif
{{ __('labels.backend.users.fields.created_at') }} {{ $user->created_at->isoFormat('llll') }}
({{ $user->created_at->diffForHumans() }})
{{ __('labels.backend.users.fields.updated_at') }} {{ $user->updated_at->isoFormat('llll') }}
({{ $user->updated_at->diffForHumans() }})
@endsection