MDL-74873 core_message: Disable notification preferences controls

This commit is contained in:
Daniel Thies 2022-05-29 13:34:59 -05:00
parent 35b993b694
commit 9a349468cc

View file

@ -60,7 +60,8 @@
<input type="checkbox" <input type="checkbox"
id="{{{preferencekey}}}_{{{name}}}" id="{{{preferencekey}}}_{{{name}}}"
name="{{{preferencekey}}}_{{{name}}}" name="{{{preferencekey}}}_{{{name}}}"
class="custom-control-input notification_enabled" class="custom-control-input notification_enabled{{#disableall}} disabled{{/disableall}}"
{{#disableall}} disabled="true" {{/disableall}}
{{#enabled}}checked{{/enabled}} {{#enabled}}checked{{/enabled}}
> >
<label for="{{{preferencekey}}}_{{{name}}}" class="custom-control-label" <label for="{{{preferencekey}}}_{{{name}}}" class="custom-control-label"