mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 17:08:41 -06:00
Format for local and source contexts
This commit is contained in:
parent
724d3b8894
commit
265d5c87e7
@ -24,7 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
{% if obj.local_context_data %}
|
{% if obj.local_context_data %}
|
||||||
<pre>{{ obj.local_context_data|render_json }}</pre>
|
{% include 'extras/inc/configcontext_data.html' with data=obj.local_context_data %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="text-muted">None</span>
|
<span class="text-muted">None</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -49,7 +49,7 @@
|
|||||||
{% if context.description %}
|
{% if context.description %}
|
||||||
<br /><small>{{ context.description }}</small>
|
<br /><small>{{ context.description }}</small>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<pre>{{ context.data|render_json }}</pre>
|
{% include 'extras/inc/configcontext_data.html' with data=context.data %}
|
||||||
</div>
|
</div>
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
Loading…
Reference in New Issue
Block a user