2020-04-14 02:18:49 -04:00
|
|
|
<div class="search-area">
|
2015-11-23 16:45:05 -05:00
|
|
|
<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 05:06:01 -05:00
|
|
|
key-up=(action "search")}}
|
2015-11-30 15:22:58 -05:00
|
|
|
|
2019-03-18 16:09:13 -04:00
|
|
|
<div class="reseed">
|
|
|
|
{{d-button action=(route-action "showReseedModal")
|
|
|
|
class="btn-default"
|
|
|
|
label="admin.reseed.action.label"
|
|
|
|
title="admin.reseed.action.title"
|
|
|
|
icon="sync"}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p class="filter-options">
|
2019-02-21 09:54:54 -05:00
|
|
|
<label>
|
|
|
|
{{input type="checkbox" checked=overridden click=(action "toggleOverridden")}}
|
2020-04-14 02:18:49 -04:00
|
|
|
{{i18n "admin.site_text.show_overriden"}}
|
2019-02-21 09:54:54 -05:00
|
|
|
</label>
|
2019-03-18 16:09:13 -04:00
|
|
|
</p>
|
2015-11-23 16:45:05 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#conditional-loading-spinner condition=searching}}
|
2015-11-30 15:22:58 -05:00
|
|
|
{{#if siteTexts.extras.recommended}}
|
2015-11-23 16:45:05 -05:00
|
|
|
<p><b>{{i18n "admin.site_text.recommended"}}</b></p>
|
2015-11-30 15:22:58 -05:00
|
|
|
{{/if}}
|
2015-11-23 16:45:05 -05:00
|
|
|
|
|
|
|
{{#each siteTexts as |siteText|}}
|
2019-01-10 05:06:01 -05:00
|
|
|
{{site-text-summary siteText=siteText editAction=(action "edit") term=q searchRegex=siteTexts.extras.regex}}
|
2015-11-23 16:45:05 -05:00
|
|
|
{{/each}}
|
2019-03-08 16:13:10 -05:00
|
|
|
|
|
|
|
{{#if siteTexts.extras.has_more}}
|
2020-04-14 02:18:49 -04:00
|
|
|
<p class="warning">{{i18n "admin.site_text.more_than_50_results"}}</p>
|
2019-03-08 16:13:10 -05:00
|
|
|
{{/if}}
|
2015-11-23 16:45:05 -05:00
|
|
|
{{/conditional-loading-spinner}}
|