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

Added changelog view for Cable

This commit is contained in:
Jeremy Stretch
2018-11-01 10:04:43 -04:00
parent 849db8fe44
commit 3bc6fc5e24
2 changed files with 10 additions and 1 deletions

View File

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