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>
|
<h3 class="h6 font-weight-bold">{{#str}} privacy, message {{/str}}</h3>
|
||||||
<p>{{#str}} privacy_desc, message {{/str}}</p>
|
<p>{{#str}} privacy_desc, message {{/str}}</p>
|
||||||
<div data-preference="blocknoncontacts" class="mb-3">
|
<div data-preference="blocknoncontacts" class="mb-3">
|
||||||
{{#privacy}}
|
<fieldset>
|
||||||
<div class="custom-control custom-radio mb-2">
|
<legend class="sr-only">{{#str}} contactableprivacy, message {{/str}}</legend>
|
||||||
<input
|
{{#privacy}}
|
||||||
type="radio"
|
<div class="custom-control custom-radio mb-2">
|
||||||
name="message_blocknoncontacts"
|
<input
|
||||||
class="custom-control-input"
|
type="radio"
|
||||||
id="block-noncontacts-{{uniqid}}-{{value}}"
|
name="message_blocknoncontacts"
|
||||||
value="{{value}}"
|
class="custom-control-input"
|
||||||
>
|
id="block-noncontacts-{{uniqid}}-{{value}}"
|
||||||
<label class="custom-control-label ml-2" for="block-noncontacts-{{uniqid}}-{{value}}">
|
value="{{value}}"
|
||||||
{{text}}
|
>
|
||||||
</label>
|
<label class="custom-control-label ml-2" for="block-noncontacts-{{uniqid}}-{{value}}">
|
||||||
</div>
|
{{text}}
|
||||||
{{/privacy}}
|
</label>
|
||||||
|
</div>
|
||||||
|
{{/privacy}}
|
||||||
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="hidden" data-region="notification-preference-container">
|
<div class="hidden" data-region="notification-preference-container">
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
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.
|
This template will render the message drawer.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user