Fix changelog table action labels

This commit is contained in:
Jeremy Stretch 2019-12-05 16:37:22 -05:00
parent 2bcbcd3458
commit a2b0da2608

View File

@ -38,11 +38,11 @@ OBJECTCHANGE_TIME = """
""" """
OBJECTCHANGE_ACTION = """ OBJECTCHANGE_ACTION = """
{% if record.action == 1 %} {% if record.action == 'create' %}
<span class="label label-success">Created</span> <span class="label label-success">Created</span>
{% elif record.action == 2 %} {% elif record.action == 'update' %}
<span class="label label-primary">Updated</span> <span class="label label-primary">Updated</span>
{% elif record.action == 3 %} {% elif record.action == 'delete' %}
<span class="label label-danger">Deleted</span> <span class="label label-danger">Deleted</span>
{% endif %} {% endif %}
""" """