25 lines
1.3 KiB
Plaintext
25 lines
1.3 KiB
Plaintext
.issues-import-modal.modal
|
||
.modal-dialog
|
||
.modal-content
|
||
= form_tag import_csv_namespace_project_issues_path, multipart: true do
|
||
.modal-header
|
||
%h3
|
||
= _('Import issues')
|
||
.import-export-svg-container
|
||
= render 'projects/issues/import_export.svg'
|
||
%a.close{ href: '#', 'data-dismiss' => 'modal' } ×
|
||
.modal-body
|
||
.modal-text
|
||
%p
|
||
= _("Your issues will be imported in the background. Once finished, you'll get a confirmation email.")
|
||
.form-group
|
||
= label_tag :file, _('Upload CSV file'), class: 'label-bold'
|
||
%div
|
||
= file_field_tag :file, accept: '.csv,text/csv', required: true
|
||
%p.text-secondary
|
||
= _('It must have a header row and at least two columns: the first column is the issue title and the second column is the issue description. The separator is automatically detected.')
|
||
= _('The maximum file size allowed is %{size}.') % { size: number_to_human_size(Gitlab::CurrentSettings.max_attachment_size.megabytes) }
|
||
.modal-footer
|
||
%button{ type: 'submit', class: 'btn btn-success', title: _('Import issues'), data: { track_label: "export_issues_csv", track_event: "click_button"} }
|
||
= _('Import issues')
|