diff --git a/netbox/templates/extras/configtemplate.html b/netbox/templates/extras/configtemplate.html index eeb962cfb..5443efff1 100644 --- a/netbox/templates/extras/configtemplate.html +++ b/netbox/templates/extras/configtemplate.html @@ -71,7 +71,11 @@

{% trans "Environment Parameters" %}

-
{{ object.environment_params }}
+ {% if object.environment_params %} +
{{ object.environment_params|json }}
+ {% else %} + {% trans "None" %} + {% endif %}
{% plugin_right_page object %} diff --git a/netbox/templates/extras/exporttemplate.html b/netbox/templates/extras/exporttemplate.html index fd1e56d11..21f656160 100644 --- a/netbox/templates/extras/exporttemplate.html +++ b/netbox/templates/extras/exporttemplate.html @@ -82,7 +82,11 @@

{% trans "Environment Parameters" %}

-
{{ object.environment_params }}
+ {% if object.environment_params %} +
{{ object.environment_params|json }}
+ {% else %} + {% trans "None" %} + {% endif %}
{% plugin_right_page object %}