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"
|
if entry.Action == "create"
|
||||||
.edit-log-create
|
.edit-log-create
|
||||||
RawIcon("plus")
|
RawIcon("plus")
|
||||||
|
else if entry.Action == "delete"
|
||||||
|
.edit-log-delete
|
||||||
|
RawIcon("minus")
|
||||||
else if entry.OldValue == "" && entry.NewValue != ""
|
else if entry.OldValue == "" && entry.NewValue != ""
|
||||||
.edit-log-add
|
.edit-log-add
|
||||||
RawIcon("plus-circle")
|
RawIcon("plus-circle")
|
||||||
else if entry.OldValue != "" && entry.NewValue == ""
|
else if entry.OldValue != "" && entry.NewValue == ""
|
||||||
.edit-log-remove
|
.edit-log-remove
|
||||||
RawIcon("minus")
|
RawIcon("minus-circle")
|
||||||
else
|
else
|
||||||
.edit-log-change
|
.edit-log-change
|
||||||
RawIcon("pencil")
|
RawIcon("pencil")
|
||||||
|
@ -29,6 +29,9 @@
|
|||||||
.edit-log-remove
|
.edit-log-remove
|
||||||
color red
|
color red
|
||||||
|
|
||||||
|
.edit-log-delete
|
||||||
|
color red
|
||||||
|
|
||||||
.edit-log-change
|
.edit-log-change
|
||||||
color main-color
|
color main-color
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user