Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
improved wizard settings UX
Dieser Commit ist enthalten in:
Ursprung
3f4b8afb55
Commit
aeadef9aa5
3 geänderte Dateien mit 10 neuen und 4 gelöschten Zeilen
|
@ -4,9 +4,9 @@
|
|||
{{#each-in field.validations as |name props|}}
|
||||
<li>
|
||||
<span class="setting-title">
|
||||
{{input type="checkbox" checked=props.status }}
|
||||
{{i18n 'admin.wizard.field.validations.enable'
|
||||
validation_type=(i18n (concat 'admin.wizard.field.validations.' name))}}
|
||||
<h4>{{i18n (concat 'admin.wizard.field.validations.' name)}}</h4>
|
||||
{{input type="checkbox" checked=props.status}}
|
||||
{{i18n 'admin.wizard.field.validations.enabled'}}
|
||||
</span>
|
||||
<div class="validation-container">
|
||||
<div class="validation-section">
|
||||
|
|
|
@ -647,6 +647,12 @@
|
|||
.realtime-validations ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
|
||||
li {
|
||||
background-color: var(--tertiary-low);
|
||||
padding: 0 1em;
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
}
|
||||
|
||||
.validation-container {
|
||||
|
|
|
@ -178,7 +178,7 @@ en:
|
|||
instructions: "<a href='https://momentjs.com/docs/#/displaying/format/' target='_blank'>Moment.js format</a>"
|
||||
validations:
|
||||
header: "Realtime Validations"
|
||||
enable: "Enable %{validation_type}"
|
||||
enabled: "Enable this validation"
|
||||
similar_topics: "Similar Topics"
|
||||
position: "Position"
|
||||
above: "Above"
|
||||
|
|
Laden …
In neuem Issue referenzieren