diff options
author | James Lopez <james@jameslopez.es> | 2016-08-29 10:46:05 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-10-03 11:53:18 +0300 |
commit | a09e1d3dda57323d8932b498a711928c98404005 (patch) | |
tree | 4e85059dd638a59ae80c25db01aa5415c7727bf3 /app/views/projects/new.html.haml | |
parent | 7134599860651cc0f502581c97853a26f2fb4471 (diff) |
Enable import/export back for non-admins
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r-- | app/views/projects/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index fda0592dd41..cc8cb134fb8 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -72,7 +72,7 @@ = link_to "#", class: 'btn js-toggle-button import_git' do = icon('git', text: 'Repo by URL') %div{ class: 'import_gitlab_project' } - - if gitlab_project_import_enabled? && current_user.is_admin? + - if gitlab_project_import_enabled? = link_to new_import_gitlab_project_path, class: 'btn btn_import_gitlab_project project-submit' do = icon('gitlab', text: 'GitLab export') |