refactor system configuration title and wording (#2847)
This commit is contained in:
@@ -9,8 +9,12 @@
|
||||
{% set formEditTemplate = app.request.xmlHttpRequest ? 'default/_form_modal.html.twig' : 'default/_form.html.twig' %}
|
||||
|
||||
{% for section in sections %}
|
||||
{% set title = section.model.section|trans({}, 'system-configuration') %}
|
||||
{% if title == section.model.section %}
|
||||
{% set title = ('label.' ~ section.model.section)|trans %}
|
||||
{% endif %}
|
||||
{{ include(formEditTemplate, {
|
||||
'title': section.model.section|trans({}, 'system-configuration'),
|
||||
'title': title,
|
||||
'form': section.form,
|
||||
}) }}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user