2015-08-04 18:21:12 -04:00
- page_title 'User map', 'FogBugz import'
2015-12-02 08:54:24 -05:00
- header_title "Projects", root_path
2015-08-04 18:21:12 -04:00
%h3.page-title
%i.fa.fa-bug
Import projects from FogBugz
%hr
2018-04-12 16:11:22 -04:00
= form_tag create_user_map_import_fogbugz_path do
2015-08-04 18:21:12 -04:00
%p
Customize how FogBugz email addresses and usernames are imported into GitLab.
In the next step, you'll be able to select the projects you want to import.
%p
2017-08-11 02:07:18 -04:00
The user map is a mapping of the FogBugz users that participated on your projects to the way their email address and usernames will be imported into GitLab. You can change this by populating the table below.
2015-08-04 18:21:12 -04:00
%ul
%li
%strong Default: Map a FogBugz account ID to a full name
%p
An empty GitLab User field will add the FogBugz user's full name
(e.g. "By John Smith") in the description of all issues and comments.
It will also associate and/or assign these issues and comments with
the project creator.
%li
%strong Map a FogBugz account ID to a GitLab user
%p
Selecting a GitLab user will add a link to the GitLab user in the descriptions
2015-11-10 06:17:37 -05:00
of issues and comments (e.g. "By <a href="#">@johnsmith</a>"). It will also
2015-08-04 18:21:12 -04:00
associate and/or assign these issues and comments with the selected user.
2015-10-19 05:19:45 -04:00
.table-holder
%table.table
%thead
2015-08-04 18:21:12 -04:00
%tr
2015-10-19 05:19:45 -04:00
%th ID
%th Name
%th Email
%th GitLab User
%tbody
- @user_map.each do |id, user|
%tr
2017-01-13 11:07:21 -05:00
%td= (id)
2015-10-19 05:19:45 -04:00
%td= text_field_tag "users[#{id}][name]", user[:name], class: 'form-control'
%td= text_field_tag "users[#{id}][email]", user[:email], class: 'form-control'
%td
= users_select_tag("users[#{id}][gitlab_user]", class: 'custom-form-control',
scope: :all, email_user: true, selected: user[:gitlab_user])
2015-08-04 18:21:12 -04:00
.form-actions
= submit_tag 'Continue to the next step', class: 'btn btn-create'