mirror of https://github.com/mastodon/mastodon
Add link to blocked users to getting started page
This commit is contained in:
parent
920ba5fc4e
commit
c5a08eb56e
|
@ -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 => ({
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue