mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Fixed #15205 - adds copy to asset tag
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
24d948a3f6
commit
a0bd8b6049
|
@ -316,6 +316,21 @@
|
|||
|
||||
<div class="row-new-striped">
|
||||
|
||||
@if ($asset->asset_tag)
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<strong>{{ trans('admin/hardware/form.tag') }}</strong>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<span class="js-copy">{{ $asset->asset_tag }}</span>
|
||||
|
||||
<i class="fa-regular fa-clipboard js-copy-link" data-clipboard-target=".js-copy" aria-hidden="true" data-tooltip="true" data-placement="top" title="{{ trans('general.copy_to_clipboard') }}">
|
||||
<span class="sr-only">{{ trans('general.copy_to_clipboard') }}</span>
|
||||
</i>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
@if ($asset->deleted_at!='')
|
||||
<div class="row">
|
||||
|
|
Loading…
Reference in a new issue