add email management link

This commit is contained in:
Sean Yesmunt 2018-09-01 20:05:28 -04:00
parent fb3097a739
commit cd010b97c4
2 changed files with 9 additions and 2 deletions

View file

@ -217,7 +217,14 @@ class HelpPage extends React.PureComponent<Props, State> {
<td>{__('Connected Email')}</td>
<td>
{user && user.primary_email ? (
user.primary_email
<React.Fragment>
{user.primary_email}{' '}
<Button
button="link"
href={`http://lbry.io/list/edit/${accessToken}`}
label={__('Update mailing preferences')}
/>
</React.Fragment>
) : (
<React.Fragment>
<span className="empty">{__('none')} </span>

View file

@ -3,7 +3,7 @@ table.table,
word-wrap: break-word;
max-width: 100%;
text-align: left;
margin-top: $spacing-width;
margin-top: $spacing-vertical * 2/3;
tr td:first-of-type,
tr th:first-of-type {