mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-18 23:20:02 +02:00
10 lines
322 B
HTML
10 lines
322 B
HTML
{% load i18n %}
|
|
{% if object.data_file %}
|
|
<a href="{{ object.data_file.get_absolute_url }}">{{ object.data_file }}</a>
|
|
{% else %}
|
|
<div class="float-end text-warning">
|
|
<i class="mdi mdi-alert" title="{% trans "The data file associated with this object has been deleted" %}."></i>
|
|
</div>
|
|
{{ value }}
|
|
{% endif %}
|