add FAQ to Publish Form #1833

Merged
ykris45 merged 3 commits from patch-1 into master 2018-07-30 22:35:42 +02:00
2 changed files with 16 additions and 8 deletions

View file

@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
### Added ### Added
* Wallet Encryption/Decryption user flows ([#1785](https://github.com/lbryio/lbry-desktop/pull/1785)) * Wallet Encryption/Decryption user flows ([#1785](https://github.com/lbryio/lbry-desktop/pull/1785))
* Add FAQ to Publishing Area ([#1833](https://github.com/lbryio/lbry-desktop/pull/1833))
### Changed ### Changed

View file

@ -53,7 +53,7 @@ type Props = {
clearPublish: () => void, clearPublish: () => void,
resolveUri: string => void, resolveUri: string => void,
scrollToTop: () => void, scrollToTop: () => void,
prepareEdit: ({}) => void, prepareEdit: ({ }) => void,
resetThumbnailStatus: () => void, resetThumbnailStatus: () => void,
}; };
@ -345,6 +345,13 @@ class PublishForm extends React.PureComponent<Props> {
<div className="card__title">{__('Content')}</div> <div className="card__title">{__('Content')}</div>
<div className="card__subtitle"> <div className="card__subtitle">
{isStillEditing ? __('Editing a claim') : __('What are you publishing?')} {isStillEditing ? __('Editing a claim') : __('What are you publishing?')}
{' '}{__(
'Read our'
)}{' '}
<Button button="link" label={__('FAQ')} href="https://lbry.io/faq/how-to-publish" />{' '}
{__(
'to learn more.'
)}
</div> </div>
{(filePath || !!editingURI) && ( {(filePath || !!editingURI) && (
<div className="card-media__internal-links"> <div className="card-media__internal-links">