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

Closes #2259: Add changelog tab to interface view

This commit is contained in:
Jeremy Stretch
2018-07-23 15:09:37 -04:00
parent 86a67e7f32
commit b7c2a26155
2 changed files with 11 additions and 2 deletions

View File

@@ -28,6 +28,14 @@
{% endif %}
</div>
<h1>{% block title %}{{ interface.parent }} / {{ interface.name }}{% endblock %}</h1>
<ul class="nav nav-tabs">
<li role="presentation"{% if not active_tab %} class="active"{% endif %}>
<a href="{{ interface.get_absolute_url }}">Interface</a>
</li>
<li role="presentation"{% if active_tab == 'changelog' %} class="active"{% endif %}>
<a href="{% url 'dcim:interface_changelog' pk=interface.pk %}">Changelog</a>
</li>
</ul>
{% endblock %}
{% block content %}