mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Add notice when watched words are regexes (#13493)
There is a big difference between regular watched words and regular expressions and this has been confusing in the past. This notice adds an explanation. This commit also reorganizes the code of the test modal.
This commit is contained in:
@@ -26,6 +26,10 @@
|
||||
|
||||
<p class="about">{{actionDescription}}</p>
|
||||
|
||||
{{#if siteSettings.watched_words_regular_expressions}}
|
||||
<p>{{html-safe (i18n "admin.watched_words.regex_warning" basePath=(base-path))}}</p>
|
||||
{{/if}}
|
||||
|
||||
{{watched-word-form
|
||||
actionKey=actionNameKey
|
||||
action=(action "recordAdded")
|
||||
|
||||
Reference in New Issue
Block a user