mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 18:40:12 -05:00
Username above toot box UI changes (#2418)
* Makes username above toot box into a link. * Prepends username above toot box with an @.
This commit is contained in:
parent
d2159deaf2
commit
acc691851d
@ -14,7 +14,9 @@ class NavigationBar extends React.PureComponent {
|
||||
<Permalink href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`}><Avatar src={this.props.account.get('avatar')} animate size={40} /></Permalink>
|
||||
|
||||
<div className='navigation-bar__profile'>
|
||||
<strong className='navigation-bar__profile-account'>{this.props.account.get('acct')}</strong>
|
||||
<Permalink href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`}>
|
||||
<strong className='navigation-bar__profile-account'>@{this.props.account.get('acct')}</strong>
|
||||
</Permalink>
|
||||
<a href='/settings/profile' className='navigation-bar__profile-edit'><FormattedMessage id='navigation_bar.edit_profile' defaultMessage='Edit profile' /></a>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user