Bug 38714: messaging-preference-form.inc

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-12-19 10:46:18 +01:00 committed by Katrin Fischer
parent fcf270da73
commit 03448e15cd
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 5 deletions

View File

@ -44,11 +44,7 @@
</td>
[% IF ( messaging_preference.takes_days ) %]
<td>
[% IF ( messaging_form_inactive ) %]
<select name="[% messaging_preference.message_attribute_id | html %]-DAYS" disabled="disabled">
[% ELSE %]
<select name="[% messaging_preference.message_attribute_id | html %]-DAYS">
[% END %]
<select name="[% messaging_preference.message_attribute_id | html %]-DAYS" [% IF messaging_form_inactive %]disabled="disabled"[% END %]>
[% FOREACH select_day IN messaging_preference.select_days %]
[% IF ( select_day.selected ) %]<option value="[% select_day.day | html %]" selected="selected">[% select_day.day | html %]</option>[% ELSE %]
<option value="[% select_day.day | html %]">[% select_day.day | html %]</option>