2017-06-29 04:56:44 +08:00
|
|
|
<h2>{{model.name}}</h2>
|
|
|
|
|
|
|
|
<p class="about">{{actionDescription}}</p>
|
|
|
|
|
2017-09-28 03:48:57 +08:00
|
|
|
{{watched-word-form
|
|
|
|
actionKey=actionNameKey
|
|
|
|
action="recordAdded"
|
|
|
|
regularExpressions=adminWatchedWords.regularExpressions}}
|
2017-06-29 04:56:44 +08:00
|
|
|
|
|
|
|
{{watched-word-uploader uploading=uploading actionKey=actionNameKey done="uploadComplete"}}
|
|
|
|
|
|
|
|
<div class='clearfix'></div>
|
2018-02-27 05:35:43 +08: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-29 04:56:44 +08: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-28 05:26:53 +08:00
|
|
|
{{i18n 'admin.watched_words.word_count' count=wordCount}}
|
2017-06-29 04:56:44 +08:00
|
|
|
{{/if}}
|
|
|
|
</div>
|