mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
UX: Remove "Live Notifications" user profile section on iOS
This commit is contained in:
parent
15ae3145ec
commit
39a7b93c4a
@ -85,6 +85,9 @@ export default Controller.extend({
|
|||||||
},
|
},
|
||||||
{ name: I18n.t("user.new_topic_duration.last_here"), value: -2 }
|
{ name: I18n.t("user.new_topic_duration.last_here"), value: -2 }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const caps = Discourse.__container__.lookup("capabilities:main");
|
||||||
|
this.isIOS = caps.isIOS;
|
||||||
},
|
},
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
|
@ -43,12 +43,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group desktop-notifications">
|
{{#unless isIOS}}
|
||||||
<label class="control-label">{{i18n 'user.desktop_notifications.label'}}</label>
|
<div class="control-group desktop-notifications">
|
||||||
{{desktop-notification-config}}
|
<label class="control-label">{{i18n 'user.desktop_notifications.label'}}</label>
|
||||||
<div class="instructions">{{i18n 'user.desktop_notifications.each_browser_note'}}</div>
|
{{desktop-notification-config}}
|
||||||
{{plugin-outlet name="user-preferences-desktop-notifications" args=(hash model=model save=(action "save"))}}
|
<div class="instructions">{{i18n 'user.desktop_notifications.each_browser_note'}}</div>
|
||||||
</div>
|
{{plugin-outlet name="user-preferences-desktop-notifications" args=(hash model=model save=(action "save"))}}
|
||||||
|
</div>
|
||||||
|
{{/unless}}
|
||||||
|
|
||||||
{{#if siteSettings.enable_personal_messages}}
|
{{#if siteSettings.enable_personal_messages}}
|
||||||
<div class="control-group private-messages">
|
<div class="control-group private-messages">
|
||||||
|
Loading…
Reference in New Issue
Block a user