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

Closes #5901: Add 'created' and 'last_updated' fields to device component models

This commit is contained in:
Jeremy Stretch
2021-03-01 15:42:39 -05:00
parent 1ddc1a6781
commit 07e6abdac4
7 changed files with 210 additions and 19 deletions

View File

@@ -30,6 +30,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object.device }} / {{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' %}
<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>