Merge pull request #12686 from snipe/features/added_email_and_username_to_merge_confirm

Added email and username to merge user confirmation screen
This commit is contained in:
snipe 2023-03-16 22:49:54 -07:00 committed by GitHub
commit d8d7ed4465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,8 @@
<tr>
<th class="col-md-1"></th>
<th class="col-md-6">{{ trans('general.name') }}</th>
<th class="col-md-6">{{ trans('general.email') }}</th>
<th class="col-md-6">{{ trans('general.username') }}</th>
<th class="col-md-5">{{ trans('general.groups') }}</th>
<th class="col-md-5">{{ trans('general.assets') }}</th>
<th class="col-md-5">{{ trans('general.accessories') }}</th>
@ -55,10 +57,18 @@
<td>
<span {!! (Auth::user()->id==$user->id ? ' style="text-decoration: line-through"' : '') !!}>
{{ $user->present()->fullName() }} ({{ $user->username }}) (#{{ $user->id }})
{{ $user->present()->fullName() }}
</span>
{{ (Auth::id()==$user->id ? ' (cannot delete yourself)' : '') }}
</td>
<td>
{{ $user->email }}
</td>
<td>
{{ $user->username }}
</td>
<td>
@foreach ($user->groups as $group)
<a href=" {{ route('groups.update', $group->id) }}" class="label label-default">