0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Moved the newsletter settings option for audience feedback based on feedback

refs https://github.com/TryGhost/Team/issues/2124
This commit is contained in:
James Morris 2022-10-21 15:07:41 +01:00
parent a701f2114d
commit b4a178b45c

View file

@ -114,22 +114,10 @@
</div> </div>
</div> </div>
</GhFormGroup> </GhFormGroup>
</div>
</div>
{{/liquid-if}}
{{/let}}
{{#if (feature "audienceFeedback")}} {{#if (feature "audienceFeedback")}}
{{#let (eq @openSection "audienceFeedback") as |isOpen|}}
<button class="modal-fullsettings-tab {{if isOpen "active"}}" type="button" {{on "click" (fn @toggleSection "audienceFeedback")}} data-test-nav-toggle="general.audienceFeedback">
{{svg-jar "newsletter-analytics"}} Newsletter analytics
<span class="gh-nav-button-expand">{{svg-jar (if isOpen "arrow-up-stroke" "arrow-down-stroke")}}</span>
</button>
{{#liquid-if isOpen}}
<div class="modal-fullsettings-tab-expanded">
<div class="gh-stack">
<GhFormGroup @classNames="gh-stack-item gh-setting"> <GhFormGroup @classNames="gh-stack-item gh-setting">
<label for="capture-feedback" class="modal-fullsettings-title" data-test-toggle="feedbackEnabled">Capture feedback on your content</label> <label for="capture-feedback" class="modal-fullsettings-title" data-test-toggle="feedbackEnabled">Ask your readers for feedback</label>
<div class="for-switch small"> <div class="for-switch small">
<div class="container"> <div class="container">
<input <input
@ -142,10 +130,11 @@
</div> </div>
</div> </div>
</GhFormGroup> </GhFormGroup>
{{/if}}
</div> </div>
</div> </div>
{{/liquid-if}} {{/liquid-if}}
{{/let}} {{/let}}
{{/if}}
</div> </div>
</fieldset> </fieldset>