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

Standardize object breadcrumbs

This commit is contained in:
jeremystretch
2021-07-20 12:14:01 -04:00
parent d938b6621d
commit 856956afce
59 changed files with 72 additions and 253 deletions

View File

@@ -3,9 +3,8 @@
{% load static %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'extras:journalentry_list' %}">Journal Entries</a></li>
{{ block.super }}
<li class="breadcrumb-item"><a href="{% url object.assigned_object|viewname:'journal' pk=object.assigned_object.pk %}">{{ object.assigned_object }}</a></li>
<li class="breadcrumb-item">{{ object }}</li>
{% endblock %}
{% block content %}