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

Include created and last_updated fields

This commit is contained in:
Jeremy Stretch
2016-06-22 10:57:32 -04:00
parent cb5991d5a6
commit 338539e0d6
12 changed files with 92 additions and 12 deletions

View File

@@ -44,7 +44,7 @@
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<strong>Details</strong>
<strong>Circuit</strong>
</div>
<table class="table table-hover panel-body">
<tr>
@@ -93,6 +93,14 @@
<td>Patch Panel/Port</td>
<td>{{ circuit.pp_info }}</td>
</tr>
<tr>
<td>Created</td>
<td>{{ circuit.created }}</td>
</tr>
<tr>
<td>Last Updated</td>
<td>{{ circuit.last_updated }}</td>
</tr>
</table>
</div>
</div>

View File

@@ -4,7 +4,7 @@
{% block form %}
<div class="panel panel-default">
<div class="panel-heading"><strong>Details</strong></div>
<div class="panel-heading"><strong>Circuit</strong></div>
<div class="panel-body">
{% render_field form.provider %}
{% render_field form.cid %}

View File

@@ -31,7 +31,7 @@
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<strong>Details</strong>
<strong>Provider</strong>
</div>
<table class="table table-hover panel-body">
<tr>
@@ -56,6 +56,14 @@
<td>Admin Contact</td>
<td>{{ provider.admin_contact|linebreaksbr }}</td>
</tr>
<tr>
<td>Created</td>
<td>{{ provider.created }}</td>
</tr>
<tr>
<td>Last Updated</td>
<td>{{ provider.last_updated }}</td>
</tr>
</table>
</div>
<div class="panel panel-default">