mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 03:16:25 -06:00
Move breadcrumbs block to object.html
This commit is contained in:
parent
f85d131e64
commit
e0a3a9cd92
@ -5,6 +5,15 @@
|
||||
{% load perms %}
|
||||
{% load plugins %}
|
||||
|
||||
{% block header %}
|
||||
{# Breadcrumbs #}
|
||||
<nav class="breadcrumb-container" aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
{% block breadcrumbs %}{% endblock %}
|
||||
</ol>
|
||||
</nav>
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}{{ object }}{% endblock %}
|
||||
|
||||
|
@ -91,18 +91,10 @@
|
||||
{# Page header #}
|
||||
{% block header %}
|
||||
<div class="title-container">
|
||||
|
||||
{# Title #}
|
||||
<div id="content-title">
|
||||
|
||||
{# Title #}
|
||||
<h1 class="h2 w-100">{% block title %}{% endblock %}</h1>
|
||||
|
||||
{# Breadcrumbs #}
|
||||
<nav class="breadcrumb-container" aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
{% block breadcrumbs %}{%endblock%}
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
{# Controls #}
|
||||
|
Loading…
Reference in New Issue
Block a user