mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
Fixed condition for displaying feedback form on Post published
refs #3252
This commit is contained in:
parent
2ceecaa1cd
commit
af907b70cb
1 changed files with 7 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue