add email management link
This commit is contained in:
parent
fb3097a739
commit
cd010b97c4
2 changed files with 9 additions and 2 deletions
|
@ -217,7 +217,14 @@ class HelpPage extends React.PureComponent<Props, State> {
|
||||||
<td>{__('Connected Email')}</td>
|
<td>{__('Connected Email')}</td>
|
||||||
<td>
|
<td>
|
||||||
{user && user.primary_email ? (
|
{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>
|
<React.Fragment>
|
||||||
<span className="empty">{__('none')} </span>
|
<span className="empty">{__('none')} </span>
|
||||||
|
|
|
@ -3,7 +3,7 @@ table.table,
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-top: $spacing-width;
|
margin-top: $spacing-vertical * 2/3;
|
||||||
|
|
||||||
tr td:first-of-type,
|
tr td:first-of-type,
|
||||||
tr th:first-of-type {
|
tr th:first-of-type {
|
||||||
|
|
Loading…
Add table
Reference in a new issue