Initial work on #969: Custom links

This commit is contained in:
Jeremy Stretch
2019-04-15 17:12:41 -04:00
parent 20670c546d
commit 4536754b20
7 changed files with 179 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
{% extends '_base.html' %}
{% load static %}
{% load helpers %}
{% load custom_links %}
{% block title %}{{ device }}{% endblock %}
@@ -64,6 +65,9 @@
</div>
<h1>{{ device }}</h1>
{% include 'inc/created_updated.html' with obj=device %}
<div class="pull-right noprint">
{% custom_links device %}
</div>
<ul class="nav nav-tabs">
<li role="presentation"{% if not active_tab %} class="active"{% endif %}>
<a href="{% url 'dcim:device' pk=device.pk %}">Device</a>