diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-22 13:17:21 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-08-22 20:29:55 +0200 |
commit | 3c49daeb8d93010dc072de82e06a016bac7dbf16 (patch) | |
tree | b1900ab94c2f0972b414b4d1759eda51cec45d2c /app/javascript/flavours/glitch/features/local_settings | |
parent | d62ea55d51ab487d792f99209b98abcdeac218f2 (diff) |
Add glitch-soc local setting to display reply counters
Defaults to false.
Diffstat (limited to 'app/javascript/flavours/glitch/features/local_settings')
-rw-r--r-- | app/javascript/flavours/glitch/features/local_settings/page/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/local_settings/page/index.js b/app/javascript/flavours/glitch/features/local_settings/page/index.js index 5608066b0..f88e23c47 100644 --- a/app/javascript/flavours/glitch/features/local_settings/page/index.js +++ b/app/javascript/flavours/glitch/features/local_settings/page/index.js @@ -33,6 +33,14 @@ export default class LocalSettingsPage extends React.PureComponent { ({ intl, onChange, settings }) => ( <div className='glitch local-settings__page general'> <h1><FormattedMessage id='settings.general' defaultMessage='General' /></h1> + <LocalSettingsPageItem + settings={settings} + item={['show_reply_count']} + id='mastodon-settings--reply-count' + onChange={onChange} + > + <FormattedMessage id='settings.show_reply_counter' defaultMessage='Display an estimate of the reply count' /> + </LocalSettingsPageItem> <section> <h2><FormattedMessage id='settings.layout_opts' defaultMessage='Layout options' /></h2> <LocalSettingsPageItem |