diff --git a/message/templates/message_preferences.mustache b/message/templates/message_preferences.mustache index 32b920a80df..dcb67228852 100644 --- a/message/templates/message_preferences.mustache +++ b/message/templates/message_preferences.mustache @@ -75,9 +75,9 @@ ] } }} -
+

{{#str}} messagepreferences, message {{/str}}

-
+
{{#str}} notificationpreferences, message {{/str}} -
-
+
+

{{#str}} notificationpreferences, message {{/str}}

+
{{#str}} disableall, message {{/str}} {{> core/loading }}
- - - - - {{#processors}} - - {{/processors}} - - - - {{#components}} +
+
{{displayname}} - {{#hassettings}} - - - - {{#pix}} i/risk_xss, core {{/pix}} - - {{displayname}} {{#pix}} i/settings {{/pix}} - - {{/hassettings}} - {{^hassettings}} - {{displayname}} - {{/hassettings}} -
+ - + {{#processors}} - + {{/processors}} - {{#notifications}} - - + + + {{#components}} + + {{#processors}} - + {{/processors}} + + {{#notifications}} + + + {{#processors}} + - {{/processors}} - - {{/notifications}} - {{/components}} - -

{{displayname}}

{{displayname}} -
-
- {{#ispopup}} -
{{#str}} online, message {{/str}}
- {{/ispopup}} - {{^ispopup}} -
{{#str}} online, message {{/str}}
-
{{#str}} offline, message {{/str}}
- {{/ispopup}} -
-
-
+ {{#hassettings}} + + + + {{#pix}} i/risk_xss, core {{/pix}} + + {{displayname}} {{#pix}} i/settings {{/pix}} + + {{/hassettings}} + {{^hassettings}} + {{displayname}} + {{/hassettings}} +
- {{displayname}} -

{{displayname}}

- {{#locked}} -
{{lockedmessage}}
- {{/locked}} - {{^locked}} -
{{#str}} disabled, question {{/str}}
-
-
-
-
- {{#loggedin}} - - {{/loggedin}} -
- {{^ispopup}} -
- {{#loggedoff}} +
+
+
+ {{#ispopup}} +
{{#str}} online, message {{/str}}
+ {{/ispopup}} + {{^ispopup}} +
{{#str}} online, message {{/str}}
+
{{#str}} offline, message {{/str}}
+ {{/ispopup}} +
+
+
+ {{displayname}} + + {{#locked}} +
{{lockedmessage}}
+ {{/locked}} + {{^locked}} +
{{#str}} disabled, question {{/str}}
+ +
+
+
+ {{#loggedin}}
- {{/loggedoff}} + {{/loggedin}}
- {{/ispopup}} + {{^ispopup}} +
+ {{#loggedoff}} + + {{/loggedoff}} +
+ {{/ispopup}} +
- - - {{/locked}} -
+ + {{/locked}} + + {{/processors}} + + {{/notifications}} + {{/components}} + + +
{{#js}} require(['jquery', 'theme_bootstrapbase/bootstrap', 'core_message/preferences_notifications_list_controller'], diff --git a/theme/bootstrapbase/less/moodle/message.less b/theme/bootstrapbase/less/moodle/message.less index f1656231205..91f112e6618 100644 --- a/theme/bootstrapbase/less/moodle/message.less +++ b/theme/bootstrapbase/less/moodle/message.less @@ -774,9 +774,8 @@ } } -.preferences-container { - - .container() { +.preferences-page-container { + .checkbox-container { margin: 30px 5px; line-height: 20px; @@ -795,12 +794,4 @@ } } } - - .block-non-contacts-container { - .container(); - } - - .disable-notification-container { - .container(); - } } diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 4785b93c6e0..f5f6d1d4ed1 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -6392,32 +6392,18 @@ a.ygtvspacer:hover { .processor-container.loading .loading-container { display: block; } -.preferences-container .block-non-contacts-container { +.preferences-page-container .checkbox-container { margin: 30px 5px; line-height: 20px; } -.preferences-container .block-non-contacts-container input { +.preferences-page-container .checkbox-container input { line-height: 20px; margin: 0; } -.preferences-container .block-non-contacts-container .loading-icon { +.preferences-page-container .checkbox-container .loading-icon { display: none; } -.preferences-container .block-non-contacts-container.loading .loading-icon { - display: inline-block; -} -.preferences-container .disable-notification-container { - margin: 30px 5px; - line-height: 20px; -} -.preferences-container .disable-notification-container input { - line-height: 20px; - margin: 0; -} -.preferences-container .disable-notification-container .loading-icon { - display: none; -} -.preferences-container .disable-notification-container.loading .loading-icon { +.preferences-page-container .checkbox-container.loading .loading-icon { display: inline-block; } /* Question */