mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Admin watched words UI tweaks (#12956)
This commit is contained in:
parent
72648dd576
commit
aec52ce043
@ -1,12 +1,12 @@
|
|||||||
<div class="watched-word-input">
|
<div class="watched-word-input">
|
||||||
<label for="watched-word">{{i18n "admin.watched_words.form.label"}}</label>
|
<label for="watched-word">{{i18n "admin.watched_words.form.label"}}</label>
|
||||||
{{text-field id="watched-word" value=word disabled=formSubmitted class="watched-word-input" autocorrect="off" autocapitalize="off" placeholderKey=placeholderKey title=(i18n placeholderKey)}}
|
{{text-field id="watched-word" value=word disabled=formSubmitted class="watched-word-input-field" autocorrect="off" autocapitalize="off" placeholderKey=placeholderKey title=(i18n placeholderKey)}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if canReplace}}
|
{{#if canReplace}}
|
||||||
<div class="watched-word-input">
|
<div class="watched-word-input">
|
||||||
<label for="watched-replacement">{{i18n "admin.watched_words.form.replacement_label"}}</label>
|
<label for="watched-replacement">{{i18n "admin.watched_words.form.replacement_label"}}</label>
|
||||||
{{text-field id="watched-replacement" value=replacement disabled=formSubmitted class="watched-word-input" autocorrect="off" autocapitalize="off" placeholderKey="admin.watched_words.form.replacement_placeholder"}}
|
{{text-field id="watched-replacement" value=replacement disabled=formSubmitted class="watched-word-input-replace" autocorrect="off" autocapitalize="off" placeholderKey="admin.watched_words.form.replacement_placeholder"}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
@ -376,7 +376,13 @@ table.screened-ip-addresses {
|
|||||||
.watched-word-input {
|
.watched-word-input {
|
||||||
label {
|
label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-width: 120px;
|
min-width: 150px;
|
||||||
|
}
|
||||||
|
input.watched-word-input-field {
|
||||||
|
min-width: 300px;
|
||||||
|
}
|
||||||
|
input.watched-word-input-replace {
|
||||||
|
min-width: 260px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4707,8 +4707,8 @@ en:
|
|||||||
replace: "Replace words in posts with other words or links"
|
replace: "Replace words in posts with other words or links"
|
||||||
tag: "Automatically tag topics based on first post"
|
tag: "Automatically tag topics based on first post"
|
||||||
form:
|
form:
|
||||||
label: "Has the word"
|
label: "Has word or phrase"
|
||||||
placeholder: "full word or * as wildcard"
|
placeholder: "Enter word or phrase (* is a wildcard)"
|
||||||
placeholder_regexp: "regular expression"
|
placeholder_regexp: "regular expression"
|
||||||
replacement_label: "Replacement"
|
replacement_label: "Replacement"
|
||||||
replacement_placeholder: "example or https://example.com"
|
replacement_placeholder: "example or https://example.com"
|
||||||
|
Loading…
Reference in New Issue
Block a user