25 lines
930 B
Text
25 lines
930 B
Text
|
- title = _('Jira Issue Import')
|
||
|
- page_title title
|
||
|
- breadcrumb_title title
|
||
|
- header_title _("Projects"), root_path
|
||
|
|
||
|
= render 'import/shared/errors'
|
||
|
|
||
|
- if @project.import_state&.in_progress?
|
||
|
%h3.page-title.d-flex.align-items-center
|
||
|
= sprite_icon('issues', size: 16, css_class: 'mr-1')
|
||
|
= _('Import in progress')
|
||
|
- else
|
||
|
%h3.page-title.d-flex.align-items-center
|
||
|
= sprite_icon('issues', size: 16, css_class: 'mr-1')
|
||
|
= _('Import issues from Jira')
|
||
|
|
||
|
= form_tag import_project_import_jira_path(@project), method: :post do
|
||
|
.form-group.row
|
||
|
= label_tag :jira_project_key, _('From project'), class: 'col-form-label col-md-2'
|
||
|
.col-md-4
|
||
|
= select_tag :jira_project_key, options_for_select(@jira_projects, ''), { class: 'select2' }
|
||
|
.form-actions
|
||
|
= submit_tag _('Import issues'), class: 'btn btn-success'
|
||
|
= link_to _('Cancel'), project_issues_path(@project), class: 'btn btn-cancel'
|