mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
21b4b15a1c
Updated email newsletter settings - Added toggle to disable email newsletters - Hides email related UI when email is completely turned off - Rearranged email newsletter settings - Added publish-menu preview in - Changed default-recipients setting - Updated publish-menu to show Publish as default action - Removed the confirmation modal during publishing when no emails are intended to be sent
26 lines
815 B
Handlebars
26 lines
815 B
Handlebars
<PowerSelect
|
|
@options={{this.options}}
|
|
@selected={{this.selectedOption}}
|
|
@onChange={{this.setRecipients}}
|
|
@triggerClass="gh-setting-dropdown"
|
|
@dropdownClass="gh-setting-dropdown-list"
|
|
as |option|
|
|
>
|
|
<div class="gh-setting-dropdown-content">
|
|
{{svg-jar option.icon class=(concat "w8 h8 mr2 fill-" (or option.icon_color "green"))}}
|
|
<div class="gh-radio-label">
|
|
{{option.name}}<br>
|
|
<div class="gh-radio-desc">{{option.description}}</div>
|
|
</div>
|
|
</div>
|
|
</PowerSelect>
|
|
|
|
{{#if (eq @recipients "segment")}}
|
|
<div class="gh-setting-large-dropdown mt2">
|
|
<GhMembersSegmentSelect
|
|
@segment={{@segment}}
|
|
@onChange={{@onSegmentChange}}
|
|
@enforcedCountFilter="subscribed:true"
|
|
/>
|
|
</div>
|
|
{{/if}} |