mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
add custom links to device components
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load helpers %}
|
||||
{% load perms %}
|
||||
{% load custom_links %}
|
||||
{% load plugins %}
|
||||
|
||||
{% block header %}
|
||||
@ -30,6 +31,9 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<h1>{% block title %}{{ object.device }} / {{ object }}{% endblock %}</h1>
|
||||
<div class="pull-right noprint">
|
||||
{% custom_links object %}
|
||||
</div>
|
||||
<ul class="nav nav-tabs">
|
||||
<li role="presentation"{% if not active_tab %} class="active"{% endif %}>
|
||||
<a href="{{ object.get_absolute_url }}">{{ object|meta:"verbose_name"|bettertitle }}</a>
|
||||
|
Reference in New Issue
Block a user