@ -36,40 +36,48 @@ export default class ColumnSettings extends React.PureComponent {
< ClearColumnButton onClick = { onClear } / >
< / d i v >
< span className = 'column-settings__section' > < FormattedMessage id = 'notifications.column_settings.follow' defaultMessage = 'New followers:' / > < / s p a n >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'follow' ] } onChange = { onChange } label = { alertStr } / >
{ showPushSettings && < SettingToggle prefix = 'notifications_push' settings = { pushSettings } settingKey = { [ 'alerts' , 'follow' ] } meta = { pushMeta } onChange = { this . onPushChange } label = { pushStr } / > }
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'follow' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'follow' ] } onChange = { onChange } label = { soundStr } / >
< div role = 'group' aria - labelledby = 'notifications-follow' >
< span id = 'notifications-follow' className = 'column-settings__section' > < FormattedMessage id = 'notifications.column_settings.follow' defaultMessage = 'New followers:' / > < / s p a n >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'follow' ] } onChange = { onChange } label = { alertStr } / >
{ showPushSettings && < SettingToggle prefix = 'notifications_push' settings = { pushSettings } settingKey = { [ 'alerts' , 'follow' ] } meta = { pushMeta } onChange = { this . onPushChange } label = { pushStr } / > }
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'follow' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'follow' ] } onChange = { onChange } label = { soundStr } / >
< / d i v >
< / d i v >
< span className = 'column-settings__section' > < FormattedMessage id = 'notifications.column_settings.favourite' defaultMessage = 'Favourites:' / > < / s p a n >
< div role = 'group' aria - labelledby = 'notifications-favourite' >
< span id = 'notifications-favourite' className = 'column-settings__section' > < FormattedMessage id = 'notifications.column_settings.favourite' defaultMessage = 'Favourites:' / > < / s p a n >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'favourite' ] } onChange = { onChange } label = { alertStr } / >
{ showPushSettings && < SettingToggle prefix = 'notifications_push' settings = { pushSettings } settingKey = { [ 'alerts' , 'favourite' ] } meta = { pushMeta } onChange = { this . onPushChange } label = { pushStr } / > }
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'favourite' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'favourite' ] } onChange = { onChange } label = { soundStr } / >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'favourite' ] } onChange = { onChange } label = { alertStr } / >
{ showPushSettings && < SettingToggle prefix = 'notifications_push' settings = { pushSettings } settingKey = { [ 'alerts' , 'favourite' ] } meta = { pushMeta } onChange = { this . onPushChange } label = { pushStr } / > }
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'favourite' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'favourite' ] } onChange = { onChange } label = { soundStr } / >
< / d i v >
< / d i v >
< span className = 'column-settings__section' > < FormattedMessage id = 'notifications.column_settings.mention' defaultMessage = 'Mentions:' / > < / s p a n >
< div role = 'group' aria - labelledby = 'notifications-mention' >
< span id = 'notifications-mention' className = 'column-settings__section' > < FormattedMessage id = 'notifications.column_settings.mention' defaultMessage = 'Mentions:' / > < / s p a n >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'mention' ] } onChange = { onChange } label = { alertStr } / >
{ showPushSettings && < SettingToggle prefix = 'notifications_push' settings = { pushSettings } settingKey = { [ 'alerts' , 'mention' ] } meta = { pushMeta } onChange = { this . onPushChange } label = { pushStr } / > }
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'mention' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'mention' ] } onChange = { onChange } label = { soundStr } / >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'mention' ] } onChange = { onChange } label = { alertStr } / >
{ showPushSettings && < SettingToggle prefix = 'notifications_push' settings = { pushSettings } settingKey = { [ 'alerts' , 'mention' ] } meta = { pushMeta } onChange = { this . onPushChange } label = { pushStr } / > }
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'mention' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'mention' ] } onChange = { onChange } label = { soundStr } / >
< / d i v >
< / d i v >
< span className = 'column-settings__section' > < FormattedMessage id = 'notifications.column_settings.reblog' defaultMessage = 'Boosts:' / > < / s p a n >
< div role = 'group' aria - labelledby = 'notifications-reblog' >
< span id = 'notifications-reblog' className = 'column-settings__section' > < FormattedMessage id = 'notifications.column_settings.reblog' defaultMessage = 'Boosts:' / > < / s p a n >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'reblog' ] } onChange = { onChange } label = { alertStr } / >
{ showPushSettings && < SettingToggle prefix = 'notifications_push' settings = { pushSettings } settingKey = { [ 'alerts' , 'reblog' ] } meta = { pushMeta } onChange = { this . onPushChange } label = { pushStr } / > }
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'reblog' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'reblog' ] } onChange = { onChange } label = { soundStr } / >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'reblog' ] } onChange = { onChange } label = { alertStr } / >
{ showPushSettings && < SettingToggle prefix = 'notifications_push' settings = { pushSettings } settingKey = { [ 'alerts' , 'reblog' ] } meta = { pushMeta } onChange = { this . onPushChange } label = { pushStr } / > }
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'reblog' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'reblog' ] } onChange = { onChange } label = { soundStr } / >
< / d i v >
< / d i v >
< / d i v >
) ;