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

Add custom links to templates

This commit is contained in:
Jeremy Stretch
2019-04-15 21:38:04 -04:00
parent 2ec7ac1ea3
commit dd58e78fde
19 changed files with 73 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
{% extends '_base.html' %}
{% load custom_links %}
{% load helpers %}
{% block title %}{{ circuit }}{% endblock %}
@@ -41,6 +42,9 @@
</div>
<h1>{{ circuit }}</h1>
{% include 'inc/created_updated.html' with obj=circuit %}
<div class="pull-right noprint">
{% custom_links circuit %}
</div>
<ul class="nav nav-tabs">
<li role="presentation"{% if not active_tab %} class="active"{% endif %}>
<a href="{{ circuit.get_absolute_url }}">Circuit</a>