@ -36,7 +36,8 @@ export default class ColumnSettings extends React.PureComponent {
< ClearColumnButton onClick = { onClear } / >
< ClearColumnButton onClick = { onClear } / >
< / d i v >
< / d i v >
< span className = 'column-settings__section' > < FormattedMessage id = 'notifications.column_settings.follow' defaultMessage = 'New followers:' / > < / s p a n >
< 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' >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'follow' ] } onChange = { onChange } label = { alertStr } / >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'follow' ] } onChange = { onChange } label = { alertStr } / >
@ -44,8 +45,10 @@ export default class ColumnSettings extends React.PureComponent {
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'follow' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'follow' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'follow' ] } onChange = { onChange } label = { soundStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'follow' ] } onChange = { onChange } label = { soundStr } / >
< / d i v >
< / 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' >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'favourite' ] } onChange = { onChange } label = { alertStr } / >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'favourite' ] } onChange = { onChange } label = { alertStr } / >
@ -53,8 +56,10 @@ export default class ColumnSettings extends React.PureComponent {
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'favourite' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'favourite' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'favourite' ] } onChange = { onChange } label = { soundStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'favourite' ] } onChange = { onChange } label = { soundStr } / >
< / d i v >
< / 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' >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'mention' ] } onChange = { onChange } label = { alertStr } / >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'mention' ] } onChange = { onChange } label = { alertStr } / >
@ -62,8 +67,10 @@ export default class ColumnSettings extends React.PureComponent {
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'mention' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'shows' , 'mention' ] } onChange = { onChange } label = { showStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'mention' ] } onChange = { onChange } label = { soundStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'mention' ] } onChange = { onChange } label = { soundStr } / >
< / d i v >
< / 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' >
< div className = 'column-settings__row' >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'reblog' ] } onChange = { onChange } label = { alertStr } / >
< SettingToggle prefix = 'notifications_desktop' settings = { settings } settingKey = { [ 'alerts' , 'reblog' ] } onChange = { onChange } label = { alertStr } / >
@ -72,6 +79,7 @@ export default class ColumnSettings extends React.PureComponent {
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'reblog' ] } onChange = { onChange } label = { soundStr } / >
< SettingToggle prefix = 'notifications' settings = { settings } settingKey = { [ 'sounds' , 'reblog' ] } onChange = { onChange } label = { soundStr } / >
< / d i v >
< / d i v >
< / d i v >
< / d i v >
< / d i v >
) ;
) ;
}
}