Initial work on #151: Object journaling

This commit is contained in:
Jeremy Stretch
2021-03-16 15:00:08 -04:00
parent e97adcb614
commit 1f1a62da67
23 changed files with 365 additions and 12 deletions

View File

@@ -147,6 +147,11 @@
<a href="{% url 'dcim:device_configcontext' pk=object.pk %}">Config Context</a>
</li>
{% endif %}
{% if perms.extras.view_journalentry %}
<li role="presentation"{% if active_tab == 'journal' %} class="active"{% endif %}>
<a href="{% url 'dcim:device_journal' pk=object.pk %}">Journal</a>
</li>
{% endif %}
{% if perms.extras.view_objectchange %}
<li role="presentation"{% if active_tab == 'changelog' %} class="active"{% endif %}>
<a href="{% url 'dcim:device_changelog' pk=object.pk %}">Change Log</a>