diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-31 12:50:12 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-31 12:50:12 -0700 |
commit | 1528df0f514e8ac59d33054ef68c901eae2194eb (patch) | |
tree | f13e8a91ae196dd5237b5dc53cb6f648d6771b14 /app/views/import | |
parent | 852b5613c5eda43a9dce20ca9a71301f5630b1c6 (diff) | |
download | gitlab-ce-1528df0f514e8ac59d33054ef68c901eae2194eb.tar.gz |
Default to importing to the current project key
Diffstat (limited to 'app/views/import')
-rw-r--r-- | app/views/import/bitbucket_server/status.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/import/bitbucket_server/status.html.haml b/app/views/import/bitbucket_server/status.html.haml index b7a73753b3c..5d78e9cfd1d 100644 --- a/app/views/import/bitbucket_server/status.html.haml +++ b/app/views/import/bitbucket_server/status.html.haml @@ -58,7 +58,7 @@ .input-group .project-path.input-group-prepend - if current_user.can_select_namespace? - - selected = params[:namespace_id] || :current_user + - selected = params[:namespace_id] || :extra_group - opts = current_user.can_create_group? ? { extra_group: Group.new(name: repo.project_key, path: repo.project_key) } : {} = select_tag :namespace_id, namespaces_options(selected, opts.merge({ display_path: true })), { class: 'input-group-text select2 js-select-namespace', tabindex: 1 } - else |