mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
b226b03f09
refs https://github.com/TryGhost/Toolbox/issues/356 - this commit updates the route to `/settings/history` and moves all the files to their new name so we can avoid further cleanup down the line
24 lines
785 B
Handlebars
24 lines
785 B
Handlebars
{{#if @selected}}
|
|
<button class="gh-btn" {{on "click" (fn @onChange null)}} type="button">
|
|
<span class="gh-btn-label-green">
|
|
Clear search ×
|
|
</span>
|
|
</button>
|
|
{{else}}
|
|
<PowerSelect
|
|
@searchEnabled={{false}}
|
|
@search={{perform this.searchUsersTask}}
|
|
@selected={{@selected}}
|
|
@onChange={{@onChange}}
|
|
@triggerClass="gh-member-filter-search-trigger"
|
|
@dropdownClass="gh-member-filter-search-dropdown"
|
|
@triggerComponent="gh-input-with-select/trigger"
|
|
@placeholder="Search staff"
|
|
@extra={{hash showSearchMessage=false}}
|
|
as |member|
|
|
>
|
|
{{#if member.name}}<strong>{{member.name}}</strong>{{/if}}
|
|
<span>{{member.email}}</span>
|
|
</PowerSelect>
|
|
{{/if}}
|