mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-68353 message: enclose privacy settings within a fieldset
This commit is contained in:
parent
08be893a36
commit
65b73df1c9
@ -39,20 +39,23 @@
|
||||
<h3 class="h6 font-weight-bold">{{#str}} privacy, message {{/str}}</h3>
|
||||
<p>{{#str}} privacy_desc, message {{/str}}</p>
|
||||
<div data-preference="blocknoncontacts" class="mb-3">
|
||||
{{#privacy}}
|
||||
<div class="custom-control custom-radio mb-2">
|
||||
<input
|
||||
type="radio"
|
||||
name="message_blocknoncontacts"
|
||||
class="custom-control-input"
|
||||
id="block-noncontacts-{{uniqid}}-{{value}}"
|
||||
value="{{value}}"
|
||||
>
|
||||
<label class="custom-control-label ml-2" for="block-noncontacts-{{uniqid}}-{{value}}">
|
||||
{{text}}
|
||||
</label>
|
||||
</div>
|
||||
{{/privacy}}
|
||||
<fieldset>
|
||||
<legend class="sr-only">{{#str}} contactableprivacy, message {{/str}}</legend>
|
||||
{{#privacy}}
|
||||
<div class="custom-control custom-radio mb-2">
|
||||
<input
|
||||
type="radio"
|
||||
name="message_blocknoncontacts"
|
||||
class="custom-control-input"
|
||||
id="block-noncontacts-{{uniqid}}-{{value}}"
|
||||
value="{{value}}"
|
||||
>
|
||||
<label class="custom-control-label ml-2" for="block-noncontacts-{{uniqid}}-{{value}}">
|
||||
{{text}}
|
||||
</label>
|
||||
</div>
|
||||
{{/privacy}}
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="hidden" data-region="notification-preference-container">
|
||||
|
@ -15,7 +15,7 @@
|
||||
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
}}
|
||||
{{!
|
||||
@template core_message/message_drawer
|
||||
@template core_message/message_index
|
||||
|
||||
This template will render the message drawer.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user