discourse/app/assets/javascripts/admin/templates/site-text-index.hbs
Joffrey JAFFEUX f9648de897
DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808)
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-Authored-By: David Taylor <david@taylorhq.com>
2019-01-10 11:06:01 +01:00

24 lines
779 B
Handlebars

<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"
key-up=(action "search")}}
<div class='extra-options'>
{{d-checkbox label="admin.site_text.show_overriden" checked=overridden change=(action "search")}}
</div>
</div>
{{#conditional-loading-spinner condition=searching}}
{{#if siteTexts.extras.recommended}}
<p><b>{{i18n "admin.site_text.recommended"}}</b></p>
{{/if}}
{{#each siteTexts as |siteText|}}
{{site-text-summary siteText=siteText editAction=(action "edit") term=q searchRegex=siteTexts.extras.regex}}
{{/each}}
{{/conditional-loading-spinner}}