discourse/app/assets/javascripts/admin/addon/templates/components/admin-watched-word.hbs

10 lines
322 B
Handlebars

<span role="button" onclick={{action "deleteWord"}} class="delete-word-record">{{d-icon "times"}}</span> {{word.word}}
{{#if (or isReplace isLink)}}
&rarr; <span class="replacement">{{word.replacement}}</span>
{{else if isTag}}
&rarr;
{{#each tags as |tag|}}
<span class="tag">{{tag}}</span>
{{/each}}
{{/if}}