mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-27 23:56:56 +00:00
16 lines
776 B
Plaintext
16 lines
776 B
Plaintext
- content_for :page_title do
|
|
= t("imports.titles.#{@bulk_import.type.to_s}")
|
|
|
|
- if @bulk_import.likely_mismatched?
|
|
.flash-message.warning= t("imports.mismatched_types_warning")
|
|
|
|
- if @bulk_import.overwrite?
|
|
%p.hint= t("imports.overwrite_preambles.#{@bulk_import.type.to_s}_html", filename: @bulk_import.original_filename, total_items: @bulk_import.total_items)
|
|
- else
|
|
%p.hint= t("imports.preambles.#{@bulk_import.type.to_s}_html", filename: @bulk_import.original_filename, total_items: @bulk_import.total_items)
|
|
|
|
.simple_form
|
|
.actions
|
|
= link_to t('generic.cancel'), settings_import_path(@bulk_import), method: :delete, class: 'button button-tertiary'
|
|
= link_to t('generic.confirm'), confirm_settings_import_path(@bulk_import), method: :post, class: 'button'
|