2022-12-08 19:57:21 +03:00
|
|
|
<div class="gh-setting-richdd-container comment-access-dropdown" data-test-members-comments-access>
|
2022-07-06 12:01:57 +03:00
|
|
|
<div class="gh-expandable-header">
|
|
|
|
<div>
|
|
|
|
<h4 class="gh-expandable-title">Commenting</h4>
|
|
|
|
<p class="gh-expandable-description">Who can comment on posts?</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<PowerSelect
|
|
|
|
@options={{this.options}}
|
|
|
|
@selected={{this.selectedOption}}
|
|
|
|
@onChange={{this.setCommentAccess}}
|
|
|
|
@triggerClass="gh-setting-dropdown"
|
|
|
|
@dropdownClass="gh-setting-dropdown-list"
|
|
|
|
as |option|
|
|
|
|
>
|
2022-12-08 19:57:21 +03:00
|
|
|
<div class="gh-setting-dropdown-content" data-test-members-comments-access-option={{option.value}}>
|
2022-07-06 12:01:57 +03:00
|
|
|
{{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>
|
2022-12-08 19:57:21 +03:00
|
|
|
</div>
|