mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-23 09:51:59 +01:00
17 lines
406 B
Python
17 lines
406 B
Python
OBJECTCHANGE_FULL_NAME = """
|
|
{% load helpers %}
|
|
{{ value.get_full_name|placeholder }}
|
|
"""
|
|
|
|
OBJECTCHANGE_OBJECT = """
|
|
{% if value and value.get_absolute_url %}
|
|
<a href="{{ value.get_absolute_url }}">{{ record.object_repr }}</a>
|
|
{% else %}
|
|
{{ record.object_repr }}
|
|
{% endif %}
|
|
"""
|
|
|
|
OBJECTCHANGE_REQUEST_ID = """
|
|
<a href="{% url 'core:objectchange_list' %}?request_id={{ value }}">{{ value }}</a>
|
|
"""
|