mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Added username to display in asset listings
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
e1263155b1
commit
a57315aed5
|
@ -327,6 +327,11 @@
|
|||
item_icon = '';
|
||||
}
|
||||
|
||||
// display the username if it's checked out to a user
|
||||
if (value.username) {
|
||||
value.name = value.name + ' (' + value.username + ')';
|
||||
}
|
||||
|
||||
return '<nobr><a href="{{ url('/') }}/' + item_destination +'/' + value.id + '" data-tooltip="true" title="' + value.type + '"><i class="' + item_icon + ' text-{{ $snipeSettings->skin!='' ? $snipeSettings->skin : 'blue' }} "></i> ' + value.name + '</a></nobr>';
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue