about summary refs log tree commit diff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-05 19:22:05 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-05 19:22:05 +0100
commitc5a08eb56e11175630014837b41e17d72f0a67a1 (patch)
treef82e7860e9f0169d0c23e94599f692b29f38c7e4 /app/assets/javascripts
parent920ba5fc4e705ea9418d2cab12e4d2ffd53775de (diff)
Add link to blocked users to getting started page
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/components/features/blocks/index.jsx2
-rw-r--r--app/assets/javascripts/components/features/getting_started/index.jsx4
2 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/features/blocks/index.jsx b/app/assets/javascripts/components/features/blocks/index.jsx
index 9bc226d61..e941b27f7 100644
--- a/app/assets/javascripts/components/features/blocks/index.jsx
+++ b/app/assets/javascripts/components/features/blocks/index.jsx
@@ -10,7 +10,7 @@ import { fetchBlocks, expandBlocks } from '../../actions/blocks';
 import { defineMessages, injectIntl } from 'react-intl';
 
 const messages = defineMessages({
-  heading: { id: 'column.blocks', defaultMessage: 'Blocked' }
+  heading: { id: 'column.blocks', defaultMessage: 'Blocked users' }
 });
 
 const mapStateToProps = state => ({
diff --git a/app/assets/javascripts/components/features/getting_started/index.jsx b/app/assets/javascripts/components/features/getting_started/index.jsx
index 42e0a9e24..502b5c9d1 100644
--- a/app/assets/javascripts/components/features/getting_started/index.jsx
+++ b/app/assets/javascripts/components/features/getting_started/index.jsx
@@ -11,7 +11,8 @@ const messages = defineMessages({
   preferences: { id: 'navigation_bar.preferences', defaultMessage: 'Preferences' },
   follow_requests: { id: 'navigation_bar.follow_requests', defaultMessage: 'Follow requests' },
   sign_out: { id: 'navigation_bar.logout', defaultMessage: 'Sign out' },
-  favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favourites' }
+  favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favourites' },
+  blocks: { id: 'navigation_bar.blocks', defaultMessage: 'Blocked users' }
 });
 
 const mapStateToProps = state => ({
@@ -32,6 +33,7 @@ const GettingStarted = ({ intl, me }) => {
         <ColumnLink icon='cog' text={intl.formatMessage(messages.preferences)} href='/settings/preferences' />
         <ColumnLink icon='star' text={intl.formatMessage(messages.favourites)} to='/favourites' />
         {followRequests}
+        <ColumnLink icon='users' text={intl.formatMessage(messages.blocks)} to='/blocks' />
         <ColumnLink icon='sign-out' text={intl.formatMessage(messages.sign_out)} href='/auth/sign_out' method='delete' />
       </div>