Skip to content

Commit

Permalink
Username above toot box UI changes (mastodon#2418)
Browse files Browse the repository at this point in the history
* Makes username above toot box into a link.

* Prepends username above toot box with an @.
  • Loading branch information
ashfurrow authored and Gargron committed Apr 25, 2017
1 parent d2159de commit acc6918
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit acc6918

Please sign in to comment.