update audit view
This commit is contained in:
@@ -25,12 +25,21 @@
|
||||
|
||||
{{define "audit-rows"}}
|
||||
<div class="audit-table">
|
||||
<div class="audit-row audit-header" aria-hidden="true">
|
||||
<span>Event</span>
|
||||
<span>Customer / deployment</span>
|
||||
<span>Actor / host / package</span>
|
||||
<span>Source / details</span>
|
||||
</div>
|
||||
{{range .AuditEvents}}
|
||||
<div class="audit-row">
|
||||
<div>
|
||||
<strong>{{.EventType}}</strong>
|
||||
<small>{{formatTime .CreatedAt}}</small>
|
||||
</div>
|
||||
<div>
|
||||
{{if .CustomerLabel}}<span>{{.CustomerLabel}}</span>{{else}}<span>—</span>{{end}}
|
||||
</div>
|
||||
<div>
|
||||
{{if .Actor}}<span>{{.Actor}}</span>{{end}}
|
||||
{{if .Hostname}}<span>{{.Hostname}}</span>{{end}}
|
||||
|
||||
Reference in New Issue
Block a user