add note to reselect file on edit
This commit is contained in:
parent
7fea7239c5
commit
b61f4bfe1f
1 changed files with 10 additions and 9 deletions
|
@ -394,15 +394,16 @@ class PublishForm extends React.PureComponent<Props> {
|
||||||
<header className="card__header">
|
<header className="card__header">
|
||||||
<h2 className="card__title">{__('Thumbnail')}</h2>
|
<h2 className="card__title">{__('Thumbnail')}</h2>
|
||||||
<p className="card__subtitle">
|
<p className="card__subtitle">
|
||||||
{uploadThumbnailStatus === THUMBNAIL_STATUSES.API_DOWN ? (
|
{(uploadThumbnailStatus === undefined && __('You should reselect your file to choose a thumbnail')) ||
|
||||||
__('Enter a URL for your thumbnail.')
|
(uploadThumbnailStatus === THUMBNAIL_STATUSES.API_DOWN ? (
|
||||||
) : (
|
__('Enter a URL for your thumbnail.')
|
||||||
<React.Fragment>
|
) : (
|
||||||
{__('Upload your thumbnail (.png/.jpg/.jpeg/.gif) to')}{' '}
|
<React.Fragment>
|
||||||
<Button button="link" label={__('spee.ch')} href="https://spee.ch/about" />.{' '}
|
{__('Upload your thumbnail (.png/.jpg/.jpeg/.gif) to')}{' '}
|
||||||
{__('Recommended size: 800x450 (16:9)')}
|
<Button button="link" label={__('spee.ch')} href="https://spee.ch/about" />.{' '}
|
||||||
</React.Fragment>
|
{__('Recommended size: 800x450 (16:9)')}
|
||||||
)}
|
</React.Fragment>
|
||||||
|
))}
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue