mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-74873 core_message: Disable notification preferences controls
This commit is contained in:
parent
35b993b694
commit
9a349468cc
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue