mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Extend linkify() to accept an attr name for the link text
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<th scope="row">Object</th>
|
||||
<td>
|
||||
{% if object.changed_object and object.changed_object.get_absolute_url %}
|
||||
<a href="{{ object.changed_object.get_absolute_url }}">{{ object.changed_object }}</a>
|
||||
{{ object.changed_object|linkify }}
|
||||
{% else %}
|
||||
{{ object.object_repr }}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user