diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-25 14:58:07 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-25 14:58:07 +0200 |
commit | 62b384824d39fb56cb211670126b38645fdf10cc (patch) | |
tree | 90972faa97c818047a0bf033f9298ed84d18c7bb /app/assets/javascripts/components/features/account | |
parent | 15f51dbf8c19d1072d873c3b92b5a638035728a1 (diff) |
Improved styling for media/videos in detailed status view
Diffstat (limited to 'app/assets/javascripts/components/features/account')
-rw-r--r-- | app/assets/javascripts/components/features/account/components/action_bar.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/components/features/account/components/action_bar.jsx b/app/assets/javascripts/components/features/account/components/action_bar.jsx index 9fa9fff3d..75b26775c 100644 --- a/app/assets/javascripts/components/features/account/components/action_bar.jsx +++ b/app/assets/javascripts/components/features/account/components/action_bar.jsx @@ -16,11 +16,11 @@ const ActionBar = React.createClass({ render () { const { account, me } = this.props; - let followBack = ''; + let infoText = ''; let actionButton = ''; if (account.get('id') === me) { - actionButton = 'This is you!'; + infoText = 'This is you!'; } else { if (account.getIn(['relationship', 'following'])) { actionButton = <Button text='Unfollow' onClick={this.props.onUnfollow} /> @@ -29,13 +29,13 @@ const ActionBar = React.createClass({ } if (account.getIn(['relationship', 'followed_by'])) { - followBack = 'Follows you!'; + infoText = 'Follows you!'; } } return ( <div style={{ borderTop: '1px solid #363c4b', borderBottom: '1px solid #363c4b', padding: '10px', lineHeight: '36px' }}> - {actionButton} {followBack} + {actionButton} <span style={{ color: '#616b86', fontWeight: '500', textTransform: 'uppercase' }}>{infoText}</span> </div> ); }, |