mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 09:53:34 -06:00
netbox-community#10055: Added empty text
This commit is contained in:
parent
0bdee1d6d8
commit
43ad8e80b9
@ -59,6 +59,8 @@ VRF_LINK = """
|
|||||||
NAT_OUTSIDE_LINK = """
|
NAT_OUTSIDE_LINK = """
|
||||||
{% if record.nat_outside.count > 0 %}
|
{% if record.nat_outside.count > 0 %}
|
||||||
{% for nat in record.nat_outside.all %}<a href="{{ nat.get_absolute_url }}">{{ nat.address.ip }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}
|
{% for nat in record.nat_outside.all %}<a href="{{ nat.get_absolute_url }}">{{ nat.address.ip }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
—
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user