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 }
|
||||
];
|
||||
|
||||
const caps = Discourse.__container__.lookup("capabilities:main");
|
||||
this.isIOS = caps.isIOS;
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
@ -43,12 +43,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group desktop-notifications">
|
||||
<label class="control-label">{{i18n 'user.desktop_notifications.label'}}</label>
|
||||
{{desktop-notification-config}}
|
||||
<div class="instructions">{{i18n 'user.desktop_notifications.each_browser_note'}}</div>
|
||||
{{plugin-outlet name="user-preferences-desktop-notifications" args=(hash model=model save=(action "save"))}}
|
||||
</div>
|
||||
{{#unless isIOS}}
|
||||
<div class="control-group desktop-notifications">
|
||||
<label class="control-label">{{i18n 'user.desktop_notifications.label'}}</label>
|
||||
{{desktop-notification-config}}
|
||||
<div class="instructions">{{i18n 'user.desktop_notifications.each_browser_note'}}</div>
|
||||
{{plugin-outlet name="user-preferences-desktop-notifications" args=(hash model=model save=(action "save"))}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
||||
{{#if siteSettings.enable_personal_messages}}
|
||||
<div class="control-group private-messages">
|
||||
|
Loading…
Reference in New Issue
Block a user