fix copied code. Add assign projects button.
This commit is contained in:
parent
5ee8c132a5
commit
45917935ef
1 changed files with 3 additions and 3 deletions
|
@ -3,11 +3,11 @@
|
||||||
Projects
|
Projects
|
||||||
%small
|
%small
|
||||||
(#{projects.count})
|
(#{projects.count})
|
||||||
- if can? current_user, :manage_group, @group
|
- if can? current_user, :manage_user_team, @team
|
||||||
%span.right
|
%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
|
%i.icon-plus
|
||||||
New Project
|
Assign Project
|
||||||
%ul.well-list
|
%ul.well-list
|
||||||
- if projects.blank?
|
- if projects.blank?
|
||||||
%p.nothing_here_message This team has no projects yet
|
%p.nothing_here_message This team has no projects yet
|
||||||
|
|
Loading…
Add table
Reference in a new issue