mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fix error in OBJECTCHANGE_OBJECT table column template
This commit is contained in:
@ -35,10 +35,8 @@ OBJECTCHANGE_ACTION = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
OBJECTCHANGE_OBJECT = """
|
OBJECTCHANGE_OBJECT = """
|
||||||
{% if record.action != 3 and record.changed_object.get_absolute_url %}
|
{% if record.changed_object.get_absolute_url %}
|
||||||
<a href="{{ record.changed_object.get_absolute_url }}">{{ record.object_repr }}</a>
|
<a href="{{ record.changed_object.get_absolute_url }}">{{ record.object_repr }}</a>
|
||||||
{% elif record.action != 3 and record.related_object.get_absolute_url %}
|
|
||||||
<a href="{{ record.related_object.get_absolute_url }}">{{ record.object_repr }}</a>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ record.object_repr }}
|
{{ record.object_repr }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user