mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Include department in user info
This commit is contained in:
parent
71b668e1a3
commit
92052442e3
|
@ -134,6 +134,13 @@
|
|||
</tr>
|
||||
@endif
|
||||
|
||||
@if (!is_null($user->department))
|
||||
<tr>
|
||||
<td>{{ trans('general.department') }}</td>
|
||||
<td><a href="{{ route('departments.show', $user->department) }}">{{ $user->department->name }}</a></td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
@if ($user->jobtitle)
|
||||
<tr>
|
||||
<td>{{ trans('admin/users/table.job') }}</td>
|
||||
|
|
Loading…
Reference in a new issue