3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 00:15:39 +00:00

Merge pull request #13994 from Godmartinz/add_license_to_info_for_activation

Added licensed to name and email in user profile license view
This commit is contained in:
snipe
2023-12-19 13:16:34 +00:00
committed by GitHub

View File

@ -490,9 +490,12 @@
}'>
<thead>
<tr>
<th class="col-md-4">{{ trans('general.name') }}</th>
<th class="col-md-4">{{ trans('admin/licenses/form.license_key') }}</th>
<th class="col-md-4">{{ trans('general.category') }}</th>
<th>{{ trans('general.name') }}</th>
<th>{{ trans('admin/licenses/form.license_key') }}</th>
<th>{{ trans('admin/licenses/form.to_name') }}</th>
<th>{{ trans('admin/licenses/form.to_email') }}</th>
<th>{{ trans('general.category') }}</th>
</tr>
</thead>
<tbody>
@ -506,6 +509,18 @@
------------
@endcan
</td>
<td>
@can('viewKeys', $license)
{{ $license->license_name }}
@else
------------
@endcan
</td>
@can('viewKeys', $license)
<td>{{$license->license_email}}</td>
@else
------------
@endcan
<td>{{ $license->category->name }}</td>
</tr>
@endforeach