mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
51536fb2ef
no issue - add icon + icon color to the subscription access and default post access option lists - updated templates to use icon in trigger and option display - fixed ember-power-select styles overriding svgs in trigger
25 lines
901 B
Handlebars
25 lines
901 B
Handlebars
<div class="mb4">
|
|
<div class="gh-expandable-header">
|
|
<div>
|
|
<h4 class="gh-expandable-title">Default post access</h4>
|
|
<p class="gh-expandable-description">When a new post is created, who should have access to it?</p>
|
|
</div>
|
|
</div>
|
|
|
|
<PowerSelect
|
|
@options={{this.options}}
|
|
@selected={{this.selectedOption}}
|
|
@onChange={{this.setDefaultContentVisibility}}
|
|
@disabled={{eq this.settings.membersSignupAccess "none"}}
|
|
@triggerClass="gh-setting-dropdown"
|
|
as |option|
|
|
>
|
|
<div class="flex ma2">
|
|
{{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>
|
|
</div> |