diff options
Diffstat (limited to 'fai_gestion/plugins/CustomTheme/src/Template')
3 files changed, 3 insertions, 0 deletions
diff --git a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig index e48d107..d26b912 100644 --- a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig +++ b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig @@ -51,6 +51,7 @@ <li><?= $this->Html->link(__('List {{ pluralHumanName }}'), ['action' => 'index']) ?></li> {{- "\n" }} {%- set done = [] %} + <li class="sep"></li> {% for type, data in associations %} {%- for alias, details in data %} {%- if details.controller is not same as(_view.name) and details.controller not in done %} diff --git a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/index.twig b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/index.twig index 10a8754..9c7437e 100644 --- a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/index.twig +++ b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/index.twig @@ -51,6 +51,7 @@ $this->Form->setTemplates(['label' => '']); <li><?= $this->Html->link(__('New {{ singularHumanName }}'), ['action' => 'add']) ?></li> {% endif %} {% set done = [] %} + <li class="sep"></li> {% for type, data in associations %} {% for alias, details in data %} {% if details.navLink and details.controller is not same as(_view.name) and details.controller not in done %} diff --git a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/view.twig b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/view.twig index 354ec12..d56588e 100644 --- a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/view.twig +++ b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/view.twig @@ -58,6 +58,7 @@ <li><?= $this->Html->link(__('List {{ pluralHumanName }}'), ['action' => 'index']) ?> </li> {% endif %} {% set done = [] %} + <li class="sep"></li> {% for type, data in associations %} {% for alias, details in data %} {% if false %} |