mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-21 03:27:21 -06:00
Fix changelog table action labels
This commit is contained in:
parent
2bcbcd3458
commit
a2b0da2608
@ -38,11 +38,11 @@ OBJECTCHANGE_TIME = """
|
||||
"""
|
||||
|
||||
OBJECTCHANGE_ACTION = """
|
||||
{% if record.action == 1 %}
|
||||
{% if record.action == 'create' %}
|
||||
<span class="label label-success">Created</span>
|
||||
{% elif record.action == 2 %}
|
||||
{% elif record.action == 'update' %}
|
||||
<span class="label label-primary">Updated</span>
|
||||
{% elif record.action == 3 %}
|
||||
{% elif record.action == 'delete' %}
|
||||
<span class="label label-danger">Deleted</span>
|
||||
{% endif %}
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user