diff --git a/views/configuration/plugins/component/table.jinja.html b/views/configuration/plugins/component/table.jinja.html index c4e0b70..1389426 100644 --- a/views/configuration/plugins/component/table.jinja.html +++ b/views/configuration/plugins/component/table.jinja.html @@ -1,83 +1,45 @@ -
- - + + + {% set ns = namespace(last_section='') %} + {% for variable in variables %} + {% set section_change = variable.plugin and ns.last_section != variable.plugin %} - + {% if section_change %} + {% if not loop.first %}{% endif %} + + + + {% endif %} + + + + - - - - - - - - - - - - + {% set ns.last_section = variable.plugin %} + {% endfor %} + +
+ {% set plugin = plugins[variable.plugin] %} + {{ t(plugin.use_title()) }} - + {% if plugin.use_description() %} +
{{ t(plugin.use_description()) }}
+ {% endif %} +
+ {{ t(variable.description) }} + + + {% if variable.value %} + {% if variable.type.value == 'bool' %} + {% if variable.display() %} + + {% else %} + + {% endif %} + {% else %} + {{ variable.display() }} + {% endif %} + {% else %} + {{ l.common_empty }} + {% endif %} +
\ No newline at end of file