Fixes #564: Display custom fields for all applicable objects

This commit is contained in:
Jeremy Stretch 2016-09-19 16:13:02 -04:00
parent b10e29aaac
commit 687e68db69
5 changed files with 15 additions and 0 deletions

View File

@ -104,6 +104,9 @@
</tr> </tr>
</table> </table>
</div> </div>
{% with circuit.get_custom_fields as custom_fields %}
{% include 'inc/custom_fields_panel.html' %}
{% endwith %}
{% include 'inc/created_updated.html' with obj=circuit %} {% include 'inc/created_updated.html' with obj=circuit %}
</div> </div>
<div class="col-md-6"> <div class="col-md-6">

View File

@ -121,6 +121,9 @@
</tr> </tr>
</table> </table>
</div> </div>
{% with ipaddress.get_custom_fields as custom_fields %}
{% include 'inc/custom_fields_panel.html' %}
{% endwith %}
{% include 'inc/created_updated.html' with obj=ipaddress %} {% include 'inc/created_updated.html' with obj=ipaddress %}
</div> </div>
<div class="col-md-6"> <div class="col-md-6">

View File

@ -101,6 +101,9 @@
</tr> </tr>
</table> </table>
</div> </div>
{% with prefix.get_custom_fields as custom_fields %}
{% include 'inc/custom_fields_panel.html' %}
{% endwith %}
{% include 'inc/created_updated.html' with obj=prefix %} {% include 'inc/created_updated.html' with obj=prefix %}
<br /> <br />
</div> </div>

View File

@ -110,6 +110,9 @@
</tr> </tr>
</table> </table>
</div> </div>
{% with vlan.get_custom_fields as custom_fields %}
{% include 'inc/custom_fields_panel.html' %}
{% endwith %}
{% include 'inc/created_updated.html' with obj=vlan %} {% include 'inc/created_updated.html' with obj=vlan %}
</div> </div>
<div class="col-md-6"> <div class="col-md-6">

View File

@ -82,6 +82,9 @@
</tr> </tr>
</table> </table>
</div> </div>
{% with vrf.get_custom_fields as custom_fields %}
{% include 'inc/custom_fields_panel.html' %}
{% endwith %}
{% include 'inc/created_updated.html' with obj=vrf %} {% include 'inc/created_updated.html' with obj=vrf %}
</div> </div>
<div class="col-md-6"> <div class="col-md-6">