Minor style fixes and deprecation handling
Dieser Commit ist enthalten in:
Ursprung
b078b9c8f4
Commit
1e56477253
7 geänderte Dateien mit 16 neuen und 10 gelöschten Zeilen
|
@ -5,7 +5,7 @@ export default {
|
||||||
after: "message-bus",
|
after: "message-bus",
|
||||||
|
|
||||||
initialize: function (container) {
|
initialize: function (container) {
|
||||||
const messageBus = container.lookup("message-bus:main");
|
const messageBus = container.lookup("service:message-bus");
|
||||||
const siteSettings = container.lookup("site-settings:main");
|
const siteSettings = container.lookup("site-settings:main");
|
||||||
|
|
||||||
if (!siteSettings.custom_wizard_enabled || !messageBus) {
|
if (!siteSettings.custom_wizard_enabled || !messageBus) {
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{{custom-wizard-category-selector
|
{{custom-wizard-category-selector
|
||||||
categories=categories
|
categories=categories
|
||||||
whitelist=field.content
|
whitelist=field.content
|
||||||
maximum=field.limit
|
|
||||||
onChange=(action (mut categories))
|
onChange=(action (mut categories))
|
||||||
tabindex=field.tabindex}}
|
tabindex=field.tabindex
|
||||||
|
options=(hash
|
||||||
|
maximum=field.limit
|
||||||
|
)}}
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{{custom-wizard-tag-chooser
|
{{custom-wizard-tag-chooser
|
||||||
tags=field.value
|
tags=field.value
|
||||||
maximum=field.limit
|
|
||||||
tabindex=field.tabindex
|
tabindex=field.tabindex
|
||||||
tagGroups=field.tag_groups
|
tagGroups=field.tag_groups
|
||||||
everyTag=true
|
everyTag=true
|
||||||
}}
|
options=(hash
|
||||||
|
maximum=field.limit
|
||||||
|
)}}
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
{{#if showDoneButton}}
|
{{#if showDoneButton}}
|
||||||
<button type="button" class="wizard-btn done" {{action "done"}} disabled={{saving}} tabindex={{primaryButtonIndex}}>
|
<button type="button" class="wizard-btn done" {{action "done"}} disabled={{saving}} tabindex={{primaryButtonIndex}}>
|
||||||
{{i18n "wizard.done"}}
|
{{i18n "wizard.done_custom"}}
|
||||||
</button>
|
</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,6 +16,7 @@ body.custom-wizard {
|
||||||
height: auto;
|
height: auto;
|
||||||
background-color: var(--secondary);
|
background-color: var(--secondary);
|
||||||
border: 1px solid var(--primary-medium);
|
border: 1px solid var(--primary-medium);
|
||||||
|
min-height: 150px;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: var(--tertiary);
|
border-color: var(--tertiary);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
body.custom-wizard {
|
body.custom-wizard .d-header,
|
||||||
.d-header .panel {
|
.global-notice,
|
||||||
|
.create-topics-notice {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,8 @@ en:
|
||||||
x_characters:
|
x_characters:
|
||||||
one: "%{count} Character"
|
one: "%{count} Character"
|
||||||
other: "%{count} Characters"
|
other: "%{count} Characters"
|
||||||
|
quit: "Maybe Later"
|
||||||
|
done_custom: "Done"
|
||||||
|
|
||||||
wizard_composer:
|
wizard_composer:
|
||||||
show_preview: "Preview Post"
|
show_preview: "Preview Post"
|
||||||
|
|
Laden …
In neuem Issue referenzieren