1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#10170 changes from code review

This commit is contained in:
Arthur
2022-08-29 12:20:51 -07:00
parent 23fafe1996
commit 249b8b0363
3 changed files with 5 additions and 3 deletions

View File

@ -13,8 +13,8 @@ OBJECTCHANGE_FULL_NAME = """
"""
OBJECTCHANGE_OBJECT = """
{% if record.changed_object and record.changed_object.get_absolute_url %}
<a href="{{ record.changed_object.get_absolute_url }}">{{ record.object_repr }}</a>
{% if value.changed_object and value.changed_object.get_absolute_url %}
<a href="{{ value.changed_object.get_absolute_url }}">{{ record.object_repr }}</a>
{% else %}
{{ record.object_repr }}
{% endif %}