2017-06-28 16:56:44 -04:00
|
|
|
<h2>{{model.name}}</h2>
|
|
|
|
|
|
|
|
<p class="about">{{actionDescription}}</p>
|
|
|
|
|
2018-07-02 23:14:53 -04:00
|
|
|
<div class="watched-word-controls">
|
2017-09-27 15:48:57 -04:00
|
|
|
{{watched-word-form
|
|
|
|
actionKey=actionNameKey
|
|
|
|
action="recordAdded"
|
2018-05-18 04:11:08 -04:00
|
|
|
filteredContent=filteredContent
|
2017-09-27 15:48:57 -04:00
|
|
|
regularExpressions=adminWatchedWords.regularExpressions}}
|
2017-06-28 16:56:44 -04:00
|
|
|
|
|
|
|
{{watched-word-uploader uploading=uploading actionKey=actionNameKey done="uploadComplete"}}
|
2018-07-02 23:14:53 -04:00
|
|
|
</div>
|
2018-02-26 16:35:43 -05:00
|
|
|
<div>
|
|
|
|
<label class="show-words-checkbox">
|
|
|
|
{{input type="checkbox" checked=adminWatchedWords.showWords disabled=adminWatchedWords.disableShowWords}}
|
|
|
|
{{i18n 'admin.watched_words.show_words'}}
|
|
|
|
</label>
|
|
|
|
</div>
|
2017-06-28 16:56:44 -04:00
|
|
|
<div class="watched-words-list">
|
|
|
|
{{#if showWordsList}}
|
|
|
|
{{#each filteredContent as |word| }}
|
|
|
|
<div class="watched-word-box">{{admin-watched-word word=word action="recordRemoved"}}</div>
|
|
|
|
{{/each}}
|
|
|
|
{{else}}
|
2018-03-27 17:26:53 -04:00
|
|
|
{{i18n 'admin.watched_words.word_count' count=wordCount}}
|
2017-06-28 16:56:44 -04:00
|
|
|
{{/if}}
|
|
|
|
</div>
|