A free open source IT asset/license management system
Added username to display in asset listings
snipea57315aed5f5
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex 38ffde10a0..5a6e9dd464 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -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 {