debian-mirror-gitlab/app/views/import/google_code/new_user_map.html.haml

37 lines
2.4 KiB
Text
Raw Normal View History

2018-11-18 11:00:15 +05:30
- page_title _("User map"), _("Google Code import")
- header_title _("Projects"), root_path
2015-04-26 12:48:37 +05:30
%h3.page-title
%i.fa.fa-google
2018-11-18 11:00:15 +05:30
= _('Import projects from Google Code')
2015-04-26 12:48:37 +05:30
%hr
2018-11-08 19:23:39 +05:30
= form_tag create_user_map_import_google_code_path do
2015-04-26 12:48:37 +05:30
%p
2018-11-18 11:00:15 +05:30
= _("Customize how Google Code email addresses and usernames are imported into GitLab. In the next step, you'll be able to select the projects you want to import.")
2015-12-23 02:04:40 +05:30
%p
2018-11-18 11:00:15 +05:30
= _("The user map is a JSON document mapping the Google Code users that participated on your projects to the way their email addresses and usernames will be imported into GitLab. You can change this by changing the value on the right hand side of <code>:</code>. Be sure to preserve the surrounding double quotes, other punctuation and the email address or username on the left hand side.").html_safe
2015-04-26 12:48:37 +05:30
%ul
%li
2018-11-18 11:00:15 +05:30
%strong= _("Default: Directly import the Google Code email address or username")
2015-04-26 12:48:37 +05:30
%p
2018-11-18 11:00:15 +05:30
= _('<code>"johnsmith@example.com": "johnsm...@example.com"</code> will add "By johnsm...@example.com" to all issues and comments originally created by johnsmith@example.com. The email address or username is masked to ensure the user\'s privacy.').html_safe
2015-04-26 12:48:37 +05:30
%li
2018-11-18 11:00:15 +05:30
%strong= _("Map a Google Code user to a GitLab user")
2015-04-26 12:48:37 +05:30
%p
2018-11-18 11:00:15 +05:30
= _('<code>"johnsmith@example.com": "@johnsmith"</code> will add "By <a href="#">@johnsmith</a>" to all issues and comments originally created by johnsmith@example.com, and will set <a href="#">@johnsmith</a> as the assignee on all issues originally assigned to johnsmith@example.com.').html_safe
2015-04-26 12:48:37 +05:30
%li
2018-11-18 11:00:15 +05:30
%strong= _("Map a Google Code user to a full name")
2015-04-26 12:48:37 +05:30
%p
2018-11-18 11:00:15 +05:30
= _('<code>"johnsmith@example.com": "John Smith"</code> will add "By John Smith" to all issues and comments originally created by johnsmith@example.com.').html_safe
2015-04-26 12:48:37 +05:30
%li
2018-11-18 11:00:15 +05:30
%strong= _("Map a Google Code user to a full email address")
2015-04-26 12:48:37 +05:30
%p
2018-11-18 11:00:15 +05:30
= _('<code>"johnsmith@example.com": "johnsmith@example.com"</code> will add "By <a href="#">johnsmith@example.com</a>" to all issues and comments originally created by johnsmith@example.com. By default, the email address or username is masked to ensure the user\'s privacy. Use this option if you want to show the full email address.').html_safe
2015-04-26 12:48:37 +05:30
2018-11-08 19:23:39 +05:30
.form-group.row
2015-04-26 12:48:37 +05:30
.col-sm-12
= text_area_tag :user_map, JSON.pretty_generate(@user_map), class: 'form-control', rows: 15
.form-actions
2018-12-05 23:21:45 +05:30
= submit_tag _('Continue to the next step'), class: "btn btn-success"