|
|
@ -20,16 +20,18 @@ export default class NavigationBar extends ImmutablePureComponent { |
|
|
|
<Avatar account={this.props.account} size={48} /> |
|
|
|
<Avatar account={this.props.account} size={48} /> |
|
|
|
</Permalink> |
|
|
|
</Permalink> |
|
|
|
|
|
|
|
|
|
|
|
<Permalink className='acct' href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`}> |
|
|
|
<div className='navigation-bar__profile'> |
|
|
|
<strong>@{this.props.account.get('acct')}</strong> |
|
|
|
<Permalink className='acct' href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`}> |
|
|
|
</Permalink> |
|
|
|
<strong>@{this.props.account.get('acct')}</strong> |
|
|
|
|
|
|
|
</Permalink> |
|
|
|
|
|
|
|
|
|
|
|
{ profileLink !== undefined && ( |
|
|
|
{ profileLink !== undefined && ( |
|
|
|
<a |
|
|
|
<a |
|
|
|
className='edit' |
|
|
|
className='edit' |
|
|
|
href={ profileLink } |
|
|
|
href={ profileLink } |
|
|
|
><FormattedMessage id='navigation_bar.edit_profile' defaultMessage='Edit profile' /></a> |
|
|
|
><FormattedMessage id='navigation_bar.edit_profile' defaultMessage='Edit profile' /></a> |
|
|
|
)} |
|
|
|
)} |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
|