mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
f068e40723
no refs depends on https://github.com/TryGhost/Ghost/pull/12472 The members CSV importer gets an overhaul and works with new importer module in members service, performing the import in a background job when the import will take too long to complete in a reasonable time and send an email with data on completion. Also includes updated CSV mapping UI and error handling to allow easier import from different type of exports. Co-authored-by: Fabien O'Carroll <fabien@allou.is> Co-authored-by: Peter Zimon <zimo@ghost.org>
14 lines
515 B
Handlebars
14 lines
515 B
Handlebars
<span class="gh-select gh-import-member-select {{if @disabled "disabled"}} {{unless this.mapTo "unmapped"}}">
|
|
<OneWaySelect @value={{this.mapTo}}
|
|
@options={{this.availableFields}}
|
|
@optionValuePath="value"
|
|
@optionLabelPath="label"
|
|
@optionTargetPath="value"
|
|
@includeBlank={{true}}
|
|
@promptIsSelectable={{true}}
|
|
@prompt="Not imported"
|
|
@update={{action "updateMapping"}}
|
|
@disabled={{@disabled}}
|
|
/>
|
|
{{svg-jar "arrow-down-small"}}
|
|
</span> |