Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-27 11:20:28 +01:00
DEV: Move tag element from publicTopicFields to basicTopicFields
Dieser Commit ist enthalten in:
Ursprung
578c92e90e
Commit
a518955423
2 geänderte Dateien mit 23 neuen und 21 gelöschten Zeilen
|
@ -107,6 +107,7 @@ const action = {
|
||||||
post: null,
|
post: null,
|
||||||
post_builder: null,
|
post_builder: null,
|
||||||
post_template: null,
|
post_template: null,
|
||||||
|
tags: null,
|
||||||
skip_redirect: null,
|
skip_redirect: null,
|
||||||
custom_fields: null,
|
custom_fields: null,
|
||||||
required: null,
|
required: null,
|
||||||
|
|
|
@ -84,6 +84,28 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="setting full field-mapper-setting">
|
||||||
|
<div class="setting-label">
|
||||||
|
<label>{{i18n "admin.wizard.action.create_topic.tags"}}</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="setting-value">
|
||||||
|
{{wizard-mapper
|
||||||
|
inputs=this.action.tags
|
||||||
|
property="tags"
|
||||||
|
onUpdate=(action "mappedFieldUpdated")
|
||||||
|
options=(hash
|
||||||
|
tagSelection="output"
|
||||||
|
outputDefaultSelection="tag"
|
||||||
|
listSelection="output"
|
||||||
|
wizardFieldSelection=true
|
||||||
|
userFieldSelection="key,value"
|
||||||
|
context="action"
|
||||||
|
)
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{#if this.action.post_builder}}
|
{{#if this.action.post_builder}}
|
||||||
<div class="setting full">
|
<div class="setting full">
|
||||||
<div class="setting-label">
|
<div class="setting-label">
|
||||||
|
@ -124,27 +146,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="setting full field-mapper-setting">
|
|
||||||
<div class="setting-label">
|
|
||||||
<label>{{i18n "admin.wizard.action.create_topic.tags"}}</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="setting-value">
|
|
||||||
{{wizard-mapper
|
|
||||||
inputs=this.action.tags
|
|
||||||
property="tags"
|
|
||||||
onUpdate=(action "mappedFieldUpdated")
|
|
||||||
options=(hash
|
|
||||||
tagSelection="output"
|
|
||||||
outputDefaultSelection="tag"
|
|
||||||
listSelection="output"
|
|
||||||
wizardFieldSelection=true
|
|
||||||
userFieldSelection="key,value"
|
|
||||||
context="action"
|
|
||||||
)
|
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="setting full field-mapper-setting">
|
<div class="setting full field-mapper-setting">
|
||||||
<div class="setting-label">
|
<div class="setting-label">
|
||||||
|
|
Laden …
In neuem Issue referenzieren