2015-11-23 16:45:05 -05: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 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">
|
2021-01-18 12:53:45 -05:00
|
|
|
<div class="locale">
|
|
|
|
<label>{{i18n "admin.site_text.locale"}}</label>
|
|
|
|
{{combo-box
|
|
|
|
valueProperty="value"
|
|
|
|
content=availableLocales
|
|
|
|
value=locale
|
|
|
|
onChange=(action "updateLocale")
|
|
|
|
class="locale-search"
|
2021-08-18 20:24:21 -04:00
|
|
|
options=(hash filterable=true)
|
2021-01-18 12:53:45 -05:00
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
|
2019-02-21 09:54:54 -05:00
|
|
|
<label>
|
|
|
|
{{input type="checkbox" checked=overridden click=(action "toggleOverridden")}}
|
|
|
|
{{i18n "admin.site_text.show_overriden"}}
|
|
|
|
</label>
|
2019-03-18 16:09:13 -04:00
|
|
|
</p>
|
2015-11-23 16:45:05 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#conditional-loading-spinner condition=searching}}
|
2021-01-20 16:08:02 -05:00
|
|
|
{{#if showFallbackLocaleWarning}}
|
2021-01-18 12:53:45 -05:00
|
|
|
<div class="alert alert-info">
|
|
|
|
{{d-icon "exclamation-circle"}}
|
|
|
|
{{i18n "admin.site_text.fallback_locale_warning" fallback=fallbackLocaleFullName}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
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}}
|
|
|
|
<p class="warning">{{i18n "admin.site_text.more_than_50_results"}}</p>
|
|
|
|
{{/if}}
|
2015-11-23 16:45:05 -05:00
|
|
|
{{/conditional-loading-spinner}}
|