2015-11-24 05:45:05 +08:00
|
|
|
<div class='search-area'>
|
|
|
|
<p>{{i18n "admin.site_text.description"}}</p>
|
|
|
|
|
|
|
|
{{text-field value=q
|
|
|
|
placeholderKey="admin.site_text.search"
|
|
|
|
class="no-blur site-text-search"
|
|
|
|
autofocus="true"
|
2019-01-10 18:06:01 +08:00
|
|
|
key-up=(action "search")}}
|
2015-12-01 04:22:58 +08:00
|
|
|
|
|
|
|
<div class='extra-options'>
|
2019-01-10 18:06:01 +08:00
|
|
|
{{d-checkbox label="admin.site_text.show_overriden" checked=overridden change=(action "search")}}
|
2015-12-01 04:22:58 +08:00
|
|
|
</div>
|
2015-11-24 05:45:05 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#conditional-loading-spinner condition=searching}}
|
2015-12-01 04:22:58 +08:00
|
|
|
{{#if siteTexts.extras.recommended}}
|
2015-11-24 05:45:05 +08:00
|
|
|
<p><b>{{i18n "admin.site_text.recommended"}}</b></p>
|
2015-12-01 04:22:58 +08:00
|
|
|
{{/if}}
|
2015-11-24 05:45:05 +08:00
|
|
|
|
|
|
|
{{#each siteTexts as |siteText|}}
|
2019-01-10 18:06:01 +08:00
|
|
|
{{site-text-summary siteText=siteText editAction=(action "edit") term=q searchRegex=siteTexts.extras.regex}}
|
2015-11-24 05:45:05 +08:00
|
|
|
{{/each}}
|
|
|
|
{{/conditional-loading-spinner}}
|