summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2013-01-26 00:37:55 +0400
committerAndrey Kumanyaev <me@zzet.org>2013-01-26 00:37:55 +0400
commit45917935ef38cdb35b152dc8a04b37efb92f33f0 (patch)
tree92c326004df5640117a2c1cf124e5a64dacabfe8 /app/views
parent5ee8c132a540973c6726bfb99b2050dccc390449 (diff)
downloadgitlab-ce-45917935ef38cdb35b152dc8a04b37efb92f33f0.tar.gz
fix copied code. Add assign projects button.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/teams/_projects.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/teams/_projects.html.haml b/app/views/teams/_projects.html.haml
index 95202bc6ee5..4d99d5c259b 100644
--- a/app/views/teams/_projects.html.haml
+++ b/app/views/teams/_projects.html.haml
@@ -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