mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
Fixed condition for displaying feedback form on Post published
refs #3252
This commit is contained in:
parent
2ceecaa1cd
commit
af907b70cb
@ -79,9 +79,11 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
{{else}}
|
||||
<a href={{post.url}} class="gh-post-bookmark-wrapper" target="_blank" rel="noopener noreferrer" data-test-complete-bookmark>
|
||||
<GhPostBookmark @post={{post}} />
|
||||
</a>
|
||||
{{#unless post.lexical}}
|
||||
<a href={{post.url}} class="gh-post-bookmark-wrapper" target="_blank" rel="noopener noreferrer" data-test-complete-bookmark>
|
||||
<GhPostBookmark @post={{post}} />
|
||||
</a>
|
||||
{{/unless}}
|
||||
|
||||
{{#if post.isScheduled}}
|
||||
<p class="gh-publish-confirmation">
|
||||
@ -96,12 +98,11 @@
|
||||
</button>
|
||||
</p>
|
||||
{{else}}
|
||||
{{#if (feature 'lexicalEditor')}}
|
||||
{{#if post.lexical}}
|
||||
<FeedbackLexical::PostCompleteForm @post={{@publishOptions.post}} />
|
||||
<LinkTo @route="dashboard" class="gh-feedback-lexical-published-back">Back to dashboard</LinkTo>
|
||||
{{!-- <button class="gh-feedback-lexical-published-back"type="button">Back to dashboard</button> --}}
|
||||
{{/if}}
|
||||
{{#unless (feature 'lexicalEditor')}}
|
||||
{{#unless post.lexical}}
|
||||
<p class="gh-publish-confirmation gh-publish-confirmation-with-feedback">
|
||||
<button
|
||||
type="button"
|
||||
|
Loading…
Reference in New Issue
Block a user