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,5 +1,6 @@
{% extends '_base.html' %}
{% load static %}
{% load custom_links %}
{% load helpers %}
{% load secret_helpers %}
@@ -29,6 +30,9 @@
</div>
<h1>{% block title %}{{ secret }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=secret %}
<div class="pull-right noprint">
{% custom_links secret %}
</div>
<ul class="nav nav-tabs">
<li role="presentation"{% if not active_tab %} class="active"{% endif %}>
<a href="{{ secret.get_absolute_url }}">Secret</a>