{% extends 'admin.twig' %}
{% macro humanReadableValue(value) %}
{% if value is false %}
false
{% elseif value is true %}
true
{% elseif value is null %}
{% elseif value is emptyString %}
''
{% elseif value is empty %}
[]
{% elseif value is iterable %}
{% for category, values in allConfigValues %}
{{ category }}
{% endfor %}
{% for category, configValues in allConfigValues %}
{{ category }}
{% for key, configEntry in configValues %}
{{ key }}{% if configEntry.value is iterable %}[]{% endif %}
{{ _self.humanReadableValue(configEntry.value) }}
{{ configEntry.description|raw }}
{% if (configEntry.isCustomValue or configEntry.value is null) and configEntry.defaultValue is not null %}
{% if configEntry.description %} {% endif %}
{{ 'General_Default'|translate }}:
{{ _self.humanReadableValue(configEntry.defaultValue) }}
{% endif %}