Added deletion tracking
This commit is contained in:
parent
f25b834552
commit
42740238e0
@ -20,12 +20,15 @@ component EditLog(entries []*arn.EditLogEntry, user *arn.User)
|
||||
if entry.Action == "create"
|
||||
.edit-log-create
|
||||
RawIcon("plus")
|
||||
else if entry.Action == "delete"
|
||||
.edit-log-delete
|
||||
RawIcon("minus")
|
||||
else if entry.OldValue == "" && entry.NewValue != ""
|
||||
.edit-log-add
|
||||
RawIcon("plus-circle")
|
||||
else if entry.OldValue != "" && entry.NewValue == ""
|
||||
.edit-log-remove
|
||||
RawIcon("minus")
|
||||
RawIcon("minus-circle")
|
||||
else
|
||||
.edit-log-change
|
||||
RawIcon("pencil")
|
||||
|
@ -29,6 +29,9 @@
|
||||
.edit-log-remove
|
||||
color red
|
||||
|
||||
.edit-log-delete
|
||||
color red
|
||||
|
||||
.edit-log-change
|
||||
color main-color
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user