Projet

Général

Profil

0001-caluire-fix-widget-for-validation-step-69297.patch

Lauréline Guérin, 19 septembre 2022 21:45

Télécharger (1,58 ko)

Voir les différences:

Subject: [PATCH] caluire: fix widget for validation step (#69297)

 .../qommon/forms/widgets/caluire-reservations-enfant.html      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
templates/qommon/forms/widgets/caluire-reservations-enfant.html
28 28
                         data-activity-type="{{ option.options.details.activity_type }}"
29 29
                         data-activity-id="{{ option.options.details.activity_id }}"
30 30
                         data-date="{{ option.options.details.JOURDATE }}"
31
                         {% if option.options.prefill and not option.disabled %}data-was-checked{% endif %}
32 31
                         {% if widget.readonly and not option.disabled %}
33 32
                           {% if option.selected and not option.options.prefill %}data-has-change
34 33
                           {% elif not option.selected and option.options.prefill %}data-has-change
......
178 177
  background: #3f3;
179 178
}
180 179

  
181
.template-caluire-reservations-enfant .activity-item[data-was-checked] .activity-status.green {
180
.template-caluire-reservations-enfant .activity-item[data-has-change] .activity-status.green {
182 181
  background: orange;
183 182
}
184 183

  
185
-