|
|
@ -2,7 +2,7 @@ import React from 'react'; |
|
|
|
import ImmutablePropTypes from 'react-immutable-proptypes'; |
|
|
|
import PropTypes from 'prop-types'; |
|
|
|
import DropdownMenuContainer from 'flavours/glitch/containers/dropdown_menu_container'; |
|
|
|
import { Link } from 'react-router-dom'; |
|
|
|
import { NavLink } from 'react-router-dom'; |
|
|
|
import { defineMessages, injectIntl, FormattedMessage, FormattedNumber } from 'react-intl'; |
|
|
|
import { me, isStaff } from 'flavours/glitch/util/initial_state'; |
|
|
|
|
|
|
@ -136,20 +136,20 @@ export default class ActionBar extends React.PureComponent { |
|
|
|
</div> |
|
|
|
|
|
|
|
<div className='account__action-bar-links'> |
|
|
|
<Link className='account__action-bar__tab' to={`/accounts/${account.get('id')}`}> |
|
|
|
<NavLink exact activeClassName='active' className='account__action-bar__tab' to={`/accounts/${account.get('id')}`}> |
|
|
|
<FormattedMessage id='account.posts' defaultMessage='Posts' /> |
|
|
|
<strong><FormattedNumber value={account.get('statuses_count')} /></strong> |
|
|
|
</Link> |
|
|
|
</NavLink> |
|
|
|
|
|
|
|
<Link className='account__action-bar__tab' to={`/accounts/${account.get('id')}/following`}> |
|
|
|
<NavLink exact activeClassName='active' className='account__action-bar__tab' to={`/accounts/${account.get('id')}/following`}> |
|
|
|
<FormattedMessage id='account.follows' defaultMessage='Follows' /> |
|
|
|
<strong><FormattedNumber value={account.get('following_count')} /></strong> |
|
|
|
</Link> |
|
|
|
</NavLink> |
|
|
|
|
|
|
|
<Link className='account__action-bar__tab' to={`/accounts/${account.get('id')}/followers`}> |
|
|
|
<NavLink exact activeClassName='active' className='account__action-bar__tab' to={`/accounts/${account.get('id')}/followers`}> |
|
|
|
<FormattedMessage id='account.followers' defaultMessage='Followers' /> |
|
|
|
<strong><FormattedNumber value={account.get('followers_count')} /></strong> |
|
|
|
</Link> |
|
|
|
</NavLink> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|