=link_to'Transfer project to global namespace',remove_project_admin_group_path(@group,project_id: project.id),confirm: 'Remove project from group and move to global namespace. Are you sure?',method: :delete,class: "btn danger small"
=link_to'Transfer project to global namespace',remove_project_admin_group_path(@group,project_id: project.id),confirm: 'Remove project from group and move to global namespace. Are you sure?',method: :delete,class: "btn btn-remove small"
=link_to'Remove',admin_team_member_path(@team,member),confirm: 'Remove member from team. Are you sure?',method: :delete,class: "btn danger small",id: "remove_member_#{member.id}"
=link_to'Remove',admin_team_member_path(@team,member),confirm: 'Remove member from team. Are you sure?',method: :delete,class: "btn btn-remove small",id: "remove_member_#{member.id}"
%fieldset
%legend
Projects (#{@team.projects.count})
%span=link_to'Add projects',new_admin_team_project_path(@team),class: "btn success small right",id: :assign_projects_to_team
%span=link_to'Add projects',new_admin_team_project_path(@team),class: "btn btn-primary small right",id: :assign_projects_to_team
=link_to'Relegate',admin_team_project_path(@team,project),confirm: 'Remove project from team. Are you sure?',method: :delete,class: "btn danger small",id: "relegate_project_#{project.id}"
=link_to'Relegate',admin_team_project_path(@team,project),confirm: 'Remove project from team. Are you sure?',method: :delete,class: "btn btn-remove small",id: "relegate_project_#{project.id}"
.right=link_to'Destroy',[@project,@snippet],confirm: 'Are you sure?',method: :delete,class: "btn right danger delete-snippet",id: "destroy_snippet_#{@snippet.id}"
=link_tonew_team_project_path(@team),class: "btn success small grouped",title: "New Team Member"do
=link_tonew_team_project_path(@team),class: "btn btn-primary small grouped",title: "New Team Member"do
Assign project to Team
%hr
...
...
@@ -30,7 +30,7 @@
-ifcurrent_user.can?(:admin_user_team,@team)
%td.bgred
=link_to'Edit max access',edit_team_project_path(@team,project),class: "btn small"
=link_to'Relegate',team_project_path(@team,project),confirm: 'Remove project from team and move to global namespace. Are you sure?',method: :delete,class: "btn danger small"
=link_to'Relegate',team_project_path(@team,project),confirm: 'Remove project from team and move to global namespace. Are you sure?',method: :delete,class: "btn btn-remove small"
-else
%p.nothing_here_message This team has no projects yet