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