From a57315aed5f5a0f2bf45f0ba3c3e0ad9a384d0e2 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 9 Jan 2023 12:58:58 -0800 Subject: [PATCH] Added username to display in asset listings Signed-off-by: snipe --- resources/views/partials/bootstrap-table.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index 38ffde10a..5a6e9dd46 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 ' ' + value.name + ''; } else {