mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-26 15:17:45 -06:00
Standardize on "object" for ObjectView template context
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
<strong>Local Context</strong>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{% if obj.local_context_data %}
|
||||
{% include 'extras/inc/configcontext_data.html' with data=obj.local_context_data format=format %}
|
||||
{% if object.local_context_data %}
|
||||
{% include 'extras/inc/configcontext_data.html' with data=object.local_context_data format=format %}
|
||||
{% else %}
|
||||
<span class="text-muted">None</span>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user