@if (!is_null($user->company))
{{ trans('general.company') }} |
{{ $user->company->name }} |
@endif
{{ trans('admin/users/table.name') }} |
{{ $user->present()->fullName() }} |
{{ trans('admin/users/table.username') }} |
{{ $user->username }} |
@if (($user->address) || ($user->city) || ($user->state) || ($user->country))
{{ trans('general.address') }} |
@if ($user->address)
{{ $user->address }}
@endif
@if ($user->city)
{{ $user->city }}
@endif
@if ($user->state)
{{ $user->state }}
@endif
@if ($user->country)
{{ $user->country }}
@endif
|
@endif
{{ trans('general.groups') }} |
@if ($user->groups->count() > 0)
@foreach ($user->groups as $group)
@can('superadmin')
{{ $group->name }}
@else
{{ $group->name }}
@endcan
@endforeach
@else
--
@endif
|
@if ($user->jobtitle)
{{ trans('admin/users/table.job') }} |
{{ $user->jobtitle }} |
@endif
@if ($user->employee_num)
{{ trans('admin/users/table.employee_num') }} |
{{ $user->employee_num }} |
@endif
@if ($user->manager)
{{ trans('admin/users/table.manager') }} |
{{ $user->manager->getFullNameAttribute() }}
|
@endif
@if ($user->email)
{{ trans('admin/users/table.email') }} |
{{ $user->email }} |
@endif
@if ($user->website)
{{ trans('general.website') }} |
{{ $user->website }} |
@endif
@if ($user->phone)
{{ trans('admin/users/table.phone') }} |
{{ $user->phone }} |
@endif
@if ($user->userloc)
{{ trans('admin/users/table.location') }} |
{{ link_to_route('locations.show', $user->userloc->name, [$user->userloc->id]) }} |
@endif
@if ($user->last_login)
{{ trans('general.last_login') }} |
{{ \App\Helpers\Helper::getFormattedDateObject($user->last_login, 'datetime', false) }} |
@endif
@if (!is_null($user->department))
{{ trans('general.department') }} |
{{ $user->department->name }} |
@endif
@if ($user->created_at)
{{ trans('general.created_at') }} |
{{ $user->created_at->format('F j, Y h:iA') }} |
@endif
{{ trans('general.login_enabled') }} |
{{ ($user->activated=='1') ? trans('general.yes') : trans('general.no') }} |
@if ($user->ldap_import!='1')
LDAP |
{{ trans('general.yes') }} |
@endif
@if ($user->activated=='1')
{{ trans('admin/users/general.two_factor_active') }} |
{{ ($user->two_factor_active()) ? trans('general.yes') : trans('general.no') }} |
{{ trans('admin/users/general.two_factor_enrolled') }} |
{{ ($user->two_factor_active_and_enrolled()) ? trans('general.yes') : trans('general.no') }}
@if ((Auth::user()->isSuperUser()) && ($snipeSettings->two_factor_enabled!='0'))
@endif
|
@endif
@if ($user->notes)
{{ trans('admin/users/table.notes') }} |
{{ $user->notes }} |
@endif