mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-21 20:18:38 -06:00
fix breadcrumb on Application Service
This commit is contained in:
@@ -364,7 +364,6 @@ class VLANTranslationPolicy(PrimaryModel):
|
|||||||
max_length=100,
|
max_length=100,
|
||||||
unique=True,
|
unique=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = _('VLAN translation policy')
|
verbose_name = _('VLAN translation policy')
|
||||||
verbose_name_plural = _('VLAN translation policies')
|
verbose_name_plural = _('VLAN translation policies')
|
||||||
|
|||||||
@@ -1 +1,13 @@
|
|||||||
{% extends 'generic/object.html' %}
|
{% extends 'generic/object.html' %}
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block breadcrumbs %}
|
||||||
|
{{ block.super }}
|
||||||
|
{% if object.parent and breadcrumb_queryparam %}
|
||||||
|
<li class="breadcrumb-item">
|
||||||
|
<a href="{% url 'ipam:service_list' %}?{{ breadcrumb_queryparam }}={{ object.parent.pk }}">
|
||||||
|
{{ object.parent }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
{% endblock breadcrumbs %}
|
||||||
|
|||||||
Reference in New Issue
Block a user