Added import button back in

This commit is contained in:
Phil Hughes 2016-09-02 14:06:20 +01:00
parent 999f184805
commit a56216c8bd
2 changed files with 3 additions and 3 deletions

View file

@ -1,15 +1,15 @@
- page_title "Members"
.project-members-page.js-project-members-page.prepend-top-default
%h4
%h4.clearfix
Members
= link_to "Import", import_namespace_project_project_members_path(@project.namespace, @project), class: "btn btn-default pull-right hidden-xs", title: "Import members from another project"
%hr
- if can?(current_user, :admin_project_member, @project)
.project-members-new.append-bottom-default
%h5.clearfix
Add new user to
%strong= @project.name
-# = link_to "Import", import_namespace_project_project_members_path(@project.namespace, @project), class: "btn btn-default pull-right", title: "Import members from another project"
= render "new_project_member"
= render 'shared/members/requests', membership_source: @project, requesters: @requesters

View file

@ -110,7 +110,7 @@ class Spinach::Features::ProjectTeamManagement < Spinach::FeatureSteps
end
step 'I click link "Import team from another project"' do
click_link "Import members from another project"
click_link "Import"
end
When 'I submit "Website" project for import team' do