@extends(config('laravelusers.laravelUsersBladeExtended')) @section('template_title') {!! trans('laravelusers::laravelusers.showing-user', ['name' => $user->name]) !!} @endsection @section('template_linked_css') @if(config('laravelusers.enabledDatatablesJs')) @endif @if(config('laravelusers.fontAwesomeEnabled')) @endif @include('laravelusers::partials.styles') @include('laravelusers::partials.bs-visibility-css') @endsection @section('content')
@if(config('laravelusers.enablePackageBootstapAlerts'))
@include('laravelusers::partials.form-status')
@endif
{!! trans('laravelusers::laravelusers.showing-user-title', ['name' => $user->name]) !!}

{{ $user->name }}

@if($user->email)

{{ Html::mailto($user->email, $user->email) }}

@endif
{!! Form::open(array('url' => 'users/' . $user->id, 'class' => 'form-inline')) !!} {!! Form::hidden('_method', 'DELETE') !!} {!! Form::button(trans('laravelusers::laravelusers.buttons.delete-user'), array('class' => 'btn btn-danger btn-md btn-block','type' => 'button', 'data-toggle' => 'modal', 'data-target' => '#confirmDelete', 'data-title' => 'Delete User', 'data-message' => 'Are you sure you want to delete this user?')) !!} {!! Form::close() !!}
  • {!! trans('laravelusers::laravelusers.show-user.id') !!}
    {{ $user->id }}
  • @if ($user->name)
  • {!! trans('laravelusers::laravelusers.show-user.name') !!}
    {{ $user->name }}
  • @endif @if ($user->email)
  • {!! trans('laravelusers::laravelusers.show-user.email') !!}
    {{ $user->email }}
  • @endif @if(config('laravelusers.rolesEnabled'))
  • {{ trans('laravelusers::laravelusers.show-user.labelRole') }}
    @foreach ($user->roles as $user_role) @if ($user_role->name == 'User') @php $labelClass = 'primary' @endphp @elseif ($user_role->name == 'Admin') @php $labelClass = 'warning' @endphp @elseif ($user_role->name == 'Unverified') @php $labelClass = 'danger' @endphp @else @php $labelClass = 'default' @endphp @endif {{ $user_role->name }} @endforeach
  • {!! trans_choice('laravelusers::laravelusers.show-user.labelAccessLevel', 1) !!}
    @if($user->level() >= 5) 5 @endif @if($user->level() >= 4) 4 @endif @if($user->level() >= 3) 3 @endif @if($user->level() >= 2) 2 @endif @if($user->level() >= 1) 1 @endif
  • @endif @if ($user->created_at)
  • {!! trans('laravelusers::laravelusers.show-user.created') !!}
    {{ $user->created_at }}
  • @endif @if ($user->updated_at)
  • {!! trans('laravelusers::laravelusers.show-user.updated') !!}
    {{ $user->updated_at }}
  • @endif
@include('laravelusers::modals.modal-delete') @endsection @section('template_scripts') @include('laravelusers::scripts.delete-modal-script') @if(config('laravelusers.tooltipsEnabled')) @include('laravelusers::scripts.tooltips') @endif @endsection