diff options
Diffstat (limited to 'app/views/import/fogbugz/status.html.haml')
-rw-r--r-- | app/views/import/fogbugz/status.html.haml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/app/views/import/fogbugz/status.html.haml b/app/views/import/fogbugz/status.html.haml index 6ee16c8be4b..cbda3a5d9d3 100644 --- a/app/views/import/fogbugz/status.html.haml +++ b/app/views/import/fogbugz/status.html.haml @@ -1,27 +1,27 @@ -- page_title "FogBugz import" -- header_title "Projects", root_path +- page_title "FogBugz 导入" +- header_title "项目", root_path %h3.page-title %i.fa.fa-bug - Import projects from FogBugz + 从 FogBugz 导入项目 - if @repos.any? %p.light - Select projects you want to import. + 选择要导入的项目。 %p.light - Optionally, you can - = link_to 'customize', new_user_map_import_fogbugz_path - how FogBugz email addresses and usernames are imported into GitLab. + 可选项,可以 + = link_to '自定义', new_user_map_import_fogbugz_path + FogBugz 电子邮箱地址和用户名来导入到 GitLab。 %hr %p - = button_tag 'Import all projects', class: 'btn btn-success js-import-all' + = button_tag '导入所有项目', class: 'btn btn-success js-import-all' .table-holder %table.table.import-jobs %thead %tr - %th From FogBugz - %th To GitLab - %th Status + %th 从 FogBugz + %th 到 GitLab + %th 状态 %tbody - @already_added_projects.each do |project| %tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"} @@ -33,10 +33,10 @@ - if project.import_status == 'finished' %span %i.fa.fa-check - done + 完成 - elsif project.import_status == 'started' %i.fa.fa-spinner.fa-spin - started + 已开始 - else = project.human_import_status_name @@ -47,7 +47,7 @@ %td.import-target = "#{current_user.username}/#{repo.name}" %td.import-actions.job-status - = button_tag "Import", class: "btn js-add-to-import" + = button_tag "导入", class: "btn js-add-to-import" :javascript new ImporterStatus("#{jobs_import_fogbugz_path}", "#{import_fogbugz_path}"); |