Skip to content
Snippets Groups Projects
Commit 45917935 authored by Andrey Kumanyaev's avatar Andrey Kumanyaev
Browse files

fix copied code. Add assign projects button.

parent 5ee8c132
No related branches found
No related tags found
2 merge requests!2940Expanding repos and hooks paths in settings,!2777Add assign project to team button on team page
Loading
Loading
@@ -3,11 +3,11 @@
Projects
%small
(#{projects.count})
- if can? current_user, :manage_group, @group
- if can? current_user, :manage_user_team, @team
%span.right
= link_to new_project_path(namespace_id: @group.id), class: "btn very_small info" do
= link_to new_team_project_path(@team), class: "btn very_small info" do
%i.icon-plus
New Project
Assign Project
%ul.well-list
- if projects.blank?
%p.nothing_here_message This team has no projects yet
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment