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",
|
||||
|
||||
initialize: function (container) {
|
||||
const messageBus = container.lookup("message-bus:main");
|
||||
const messageBus = container.lookup("service:message-bus");
|
||||
const siteSettings = container.lookup("site-settings:main");
|
||||
|
||||
if (!siteSettings.custom_wizard_enabled || !messageBus) {
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{{custom-wizard-category-selector
|
||||
categories=categories
|
||||
whitelist=field.content
|
||||
maximum=field.limit
|
||||
onChange=(action (mut categories))
|
||||
tabindex=field.tabindex}}
|
||||
tabindex=field.tabindex
|
||||
options=(hash
|
||||
maximum=field.limit
|
||||
)}}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{{custom-wizard-tag-chooser
|
||||
tags=field.value
|
||||
maximum=field.limit
|
||||
tabindex=field.tabindex
|
||||
tagGroups=field.tag_groups
|
||||
everyTag=true
|
||||
}}
|
||||
options=(hash
|
||||
maximum=field.limit
|
||||
)}}
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
{{#if showDoneButton}}
|
||||
<button type="button" class="wizard-btn done" {{action "done"}} disabled={{saving}} tabindex={{primaryButtonIndex}}>
|
||||
{{i18n "wizard.done"}}
|
||||
{{i18n "wizard.done_custom"}}
|
||||
</button>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
@ -16,6 +16,7 @@ body.custom-wizard {
|
|||
height: auto;
|
||||
background-color: var(--secondary);
|
||||
border: 1px solid var(--primary-medium);
|
||||
min-height: 150px;
|
||||
|
||||
&:focus {
|
||||
border-color: var(--tertiary);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
body.custom-wizard {
|
||||
.d-header .panel {
|
||||
body.custom-wizard .d-header,
|
||||
.global-notice,
|
||||
.create-topics-notice {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,8 @@ en:
|
|||
x_characters:
|
||||
one: "%{count} Character"
|
||||
other: "%{count} Characters"
|
||||
quit: "Maybe Later"
|
||||
done_custom: "Done"
|
||||
|
||||
wizard_composer:
|
||||
show_preview: "Preview Post"
|
||||
|
|
Laden …
In neuem Issue referenzieren