mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Migrate all ObjectView subclasses to use get_extra_context()
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}{{ vlan_group }} - VLANs{% endblock %}
|
||||
{% block title %}{{ object }} - VLANs{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row noprint">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{% url 'ipam:vlangroup_list' %}">VLAN Groups</a></li>
|
||||
{% if vlan_group.site %}
|
||||
<li><a href="{% url 'dcim:site' slug=vlan_group.site.slug %}">{{ vlan_group.site }}</a></li>
|
||||
{% if object.site %}
|
||||
<li><a href="{% url 'dcim:site' slug=object.site.slug %}">{{ object.site }}</a></li>
|
||||
{% endif %}
|
||||
<li>{{ vlan_group }}</li>
|
||||
<li>{{ object }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user