mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 15:05:58 +08:00
20 lines
492 B
Handlebars
20 lines
492 B
Handlebars
<span
|
|
role="button"
|
|
onclick={{action "deleteWord"}}
|
|
class="delete-word-record"
|
|
>{{d-icon "times"}}</span>
|
|
{{this.word.word}}
|
|
{{#if (or this.isReplace this.isLink)}}
|
|
→
|
|
<span class="replacement">{{this.word.replacement}}</span>
|
|
{{else if this.isTag}}
|
|
→
|
|
{{#each this.tags as |tag|}}
|
|
<span class="tag">{{tag}}</span>
|
|
{{/each}}
|
|
{{/if}}
|
|
{{#if this.isCaseSensitive}}
|
|
<span class="case-sensitive">{{i18n
|
|
"admin.watched_words.case_sensitive"
|
|
}}</span>
|
|
{{/if}} |