web/admin: link impersonation user for events
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
4d66e42708
commit
f2961cb536
|
@ -64,10 +64,14 @@ export class EventListPage extends TablePage<Event> {
|
|||
html`<div>${ActionToLabel(item.action)}</div>
|
||||
<small>${item.app}</small>`,
|
||||
item.user?.username
|
||||
? html`<a href="#/identity/users/${item.user.pk}"> ${item.user?.username} </a>
|
||||
? html`<div>
|
||||
<a href="#/identity/users/${item.user.pk}">${item.user?.username}</a>
|
||||
</div>
|
||||
${item.user.on_behalf_of
|
||||
? html`<small>
|
||||
${t`On behalf of ${item.user.on_behalf_of.username}`}
|
||||
<a href="#/identity/users/${item.user.on_behalf_of.pk}"
|
||||
>${t`On behalf of ${item.user.on_behalf_of.username}`}</a
|
||||
>
|
||||
</small>`
|
||||
: html``}`
|
||||
: html`-`,
|
||||
|
|
Reference in a new issue