Browse Source

Correctif mineur

develop
Fabien Normand 3 years ago
parent
commit
b62d7533f8
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      Resources/views/adminlte/layout.html.twig

+ 5
- 2
Resources/views/adminlte/layout.html.twig View File

@@ -105,6 +105,7 @@
<div class="row mb-2">

{% set params_reminders = {crudAction: null, crudControllerFqcn: null, entityId: null} %}
{% set params_reminders_null = params_reminders %}
{% if ea is defined and ea %}
{% if ea.crud is defined and ea.crud %}
{% set params_reminders = params_reminders|merge({crudAction: ea.crud.currentAction}) %}
@@ -116,8 +117,10 @@
{% endif %}

{% block reminders %}
{% set reminders = sov_reminders(params_reminders) %}
{% include '@LcSov/admin/reminder/block.html.twig' %}
{% if params_reminders_null != params_reminders %}
{% set reminders = sov_reminders(params_reminders) %}
{% include '@LcSov/admin/reminder/block.html.twig' %}
{% endif %}
{% endblock %}

{% set has_help_message = (ea.crud.helpMessage ?? '') is not empty %}

Loading…
Cancel
Save