From f2961cb53607208a179a5bbafd119da46961a106 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 10 Jan 2023 16:20:43 +0100 Subject: [PATCH] web/admin: link impersonation user for events Signed-off-by: Jens Langhammer --- web/src/admin/events/EventListPage.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/src/admin/events/EventListPage.ts b/web/src/admin/events/EventListPage.ts index 3e8eea4e6..595af1a91 100644 --- a/web/src/admin/events/EventListPage.ts +++ b/web/src/admin/events/EventListPage.ts @@ -64,10 +64,14 @@ export class EventListPage extends TablePage { html`
${ActionToLabel(item.action)}
${item.app}`, item.user?.username - ? html` ${item.user?.username} + ? html`
+ ${item.user?.username} +
${item.user.on_behalf_of ? html` - ${t`On behalf of ${item.user.on_behalf_of.username}`} + ${t`On behalf of ${item.user.on_behalf_of.username}`} ` : html``}` : html`-`,