1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Move breadcrumb generation to template

This commit is contained in:
jeremystretch
2021-04-05 12:06:59 -04:00
parent 374cb74978
commit 83496c66d1
12 changed files with 55 additions and 46 deletions

View File

@@ -2,6 +2,12 @@
{% load helpers %}
{% load plugins %}
{% block breadcrumbs %}
{{ block.super }}
<li><a href="{% url 'dcim:device_consoleserverports' pk=object.device.pk %}">Console Server Ports</a></li>
<li>{{ object }}</li>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-6">