OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ee8c13
)
fix copied code. Add assign projects button.
author
Andrey Kumanyaev
<me@zzet.org>
Fri, 25 Jan 2013 20:37:55 +0000
(
00:37
+0400)
committer
Andrey Kumanyaev
<me@zzet.org>
Fri, 25 Jan 2013 20:37:55 +0000
(
00:37
+0400)
app/views/teams/_projects.html.haml
patch
|
blob
|
history
diff --git
a/app/views/teams/_projects.html.haml
b/app/views/teams/_projects.html.haml
index
95202bc
..
4d99d5c
100644
(file)
--- 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