@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/users/general.view_user', array('name' => $user->present()->fullName())) }} @parent @stop {{-- Page content --}} @section('content')
{{ trans('general.company') }} | {{ $user->company->name }} |
{{ trans('admin/users/table.name') }} | {{ $user->present()->fullName() }} |
{{ trans('admin/users/table.username') }} | {{ $user->username }} |
{{ trans('general.groups') }} | @if ($user->groups->count() > 0) @foreach ($user->groups as $group) @can('superadmin') {{ $group->name }} @else {{ $group->name }} @endcan @endforeach @else -- @endif |
{{ trans('admin/users/table.job') }} | {{ $user->jobtitle }} |
{{ trans('admin/users/table.employee_num') }} | {{ $user->employee_num }} |
{{ trans('admin/users/table.manager') }} | {{ $user->manager->getFullNameAttribute() }} |
{{ trans('admin/users/table.email') }} | {{ $user->email }} |
{{ trans('admin/users/table.phone') }} | {{ $user->phone }} |
{{ trans('admin/users/table.location') }} | {{ link_to_route('locations.show', $user->userloc->name, [$user->userloc->id]) }} |
{{ trans('general.last_login') }} | {{ \App\Helpers\Helper::getFormattedDateObject($user->last_login, 'datetime', false) }} |
{{ trans('general.department') }} | {{ $user->department->name }} |
{{ trans('general.created_at') }} | {{ $user->created_at->format('F j, Y h:iA') }} |
{{ trans('general.login_enabled') }} | {{ ($user->activated=='1') ? trans('general.yes') : trans('general.no') }} |
{{ 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'))
{{ trans('admin/settings/general.two_factor_reset') }}
{{ trans('admin/settings/general.two_factor_reset_help') }} |
{{ trans('admin/hardware/table.asset_model') }} | {{ trans('admin/hardware/table.asset_tag') }} | {{ trans('general.name') }} | {{ trans('general.action') }} |
---|---|---|---|
@if ($asset->physical=='1') {{ $asset->model->name }} @endif | @can('view', $asset) {{ $asset->asset_tag }} @endcan | {!! $asset->present()->nameUrl() !!} | @can('checkin', $asset) {{ trans('general.checkin') }} @endcan |
{{ trans('general.name') }} | {{ trans('admin/hardware/form.serial') }} | {{ trans('general.action') }} |
---|---|---|
{!! $license->present()->nameUrl() !!} | @can('viewKeys', $license) {!! $license->present()->serialUrl() !!} @else ------------ @endcan | @can('update', $license) {{ trans('general.checkin') }} @endcan |
{{ trans('general.name') }} | {{ trans('general.action') }} |
---|---|
{!!$accessory->present()->nameUrl()!!} | @can('checkin', $accessory) {{ trans('general.checkin') }} @endcan |
{{ trans('general.name') }} | {{ trans('general.date') }} |
---|---|
{!! $consumable->present()->nameUrl() !!} | {{ $consumable->created_at }} |
{{ trans('admin/hardware/general.filetype_info') }}
{{ trans('general.notes') }} | {{ trans('general.file_name') }} | ||
---|---|---|---|
@if ($file->note) {{ $file->note }} @endif | {{ $file->filename }} | @if ($file->filename) {{ trans('general.download') }} @endif | @can('update', $user) @endcan |
{{ trans('general.date') }} | {{ trans('general.admin') }} | {{ trans('general.action') }} | {{ trans('general.item') }} | {{ trans('general.target') }} |
---|
{{ trans('general.name') }} | {{ trans('general.date') }} |
---|---|
{!! $location->present()->nameUrl() !!} | {{ $location->created_at }} |