1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-30 14:38:32 +09:00
YuruToot/app/views/settings/imports/show.html.haml

16 lines
761 B
Plaintext
Raw Normal View History

- content_for :page_title do
= t("imports.titles.#{@bulk_import.type}")
2023-05-02 19:08:48 +09:00
- if @bulk_import.likely_mismatched?
.flash-message.warning= t('imports.mismatched_types_warning')
2023-05-02 19:08:48 +09:00
- if @bulk_import.overwrite?
%p.hint= t("imports.overwrite_preambles.#{@bulk_import.type}_html", filename: @bulk_import.original_filename, total_items: @bulk_import.total_items)
2023-05-02 19:08:48 +09:00
- else
%p.hint= t("imports.preambles.#{@bulk_import.type}_html", filename: @bulk_import.original_filename, total_items: @bulk_import.total_items)
2023-05-02 19:08:48 +09:00
.simple_form
.actions
2023-05-02 19:08:48 +09:00
= 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'