mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 23:24:04 +08:00
28 lines
839 B
Handlebars
28 lines
839 B
Handlebars
<h2>{{model.name}}</h2>
|
|
|
|
<p class="about">{{actionDescription}}</p>
|
|
|
|
{{watched-word-form
|
|
actionKey=actionNameKey
|
|
action="recordAdded"
|
|
regularExpressions=adminWatchedWords.regularExpressions}}
|
|
|
|
{{watched-word-uploader uploading=uploading actionKey=actionNameKey done="uploadComplete"}}
|
|
|
|
<div class='clearfix'></div>
|
|
<div>
|
|
<label class="show-words-checkbox">
|
|
{{input type="checkbox" checked=adminWatchedWords.showWords disabled=adminWatchedWords.disableShowWords}}
|
|
{{i18n 'admin.watched_words.show_words'}}
|
|
</label>
|
|
</div>
|
|
<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}}
|
|
{{i18n 'admin.watched_words.word_count' count=wordCount}}
|
|
{{/if}}
|
|
</div>
|