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

Closes #8108: Improve breadcrumb links for device/VM components

This commit is contained in:
jeremystretch
2021-12-18 14:02:01 -05:00
parent cf4a55bc2f
commit 628e186846
12 changed files with 76 additions and 19 deletions

View File

@@ -1,7 +1,14 @@
{% extends 'dcim/device_component.html' %}
{% extends 'generic/object.html' %}
{% load helpers %}
{% load plugins %}
{% block breadcrumbs %}
{{ block.super }}
<li class="breadcrumb-item">
<a href="{% url 'dcim:device_consoleports' pk=object.device.pk %}">{{ object.device }}</a>
</li>
{% endblock %}
{% block content %}
<div class="row">
<div class="col col-md-6">