Commit 90dc5ff5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix 500 error on admin->project page

parent 74a62138
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
} }
.project-row, .group-row { .project-row, .group-row {
padding: 12px 15px !important; padding: 10px 15px !important;
.namespace-name { .namespace-name {
color: #666; color: #666;
...@@ -77,7 +77,6 @@ ...@@ -77,7 +77,6 @@
font-size: 16px; font-size: 16px;
} }
.arrow { .arrow {
float: right; float: right;
padding: 10px 5px; padding: 10px 5px;
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
%ul.well-list.team_members %ul.well-list.team_members
- @project.users_projects.each do |users_project| - @project.users_projects.each do |users_project|
- user = users_project.user - user = users_project.user
%li %li.users_project
%strong %strong
= link_to user.name, admin_user_path(user) = link_to user.name, admin_user_path(user)
.pull-right .pull-right
...@@ -107,5 +107,5 @@ ...@@ -107,5 +107,5 @@
%span.light Owner %span.light Owner
- else - else
%span.light= users_project.human_access %span.light= users_project.human_access
= link_to admin_project_member_path(@project, user), confirm: remove_from_project_team_message(@project, user), method: :delete, class: "btn btn-small btn-remove" do = link_to project_team_member_path(@project, user), confirm: remove_from_project_team_message(@project, user), method: :delete, remote: true, class: "btn btn-small btn-remove" do
%i.icon-remove %i.icon-remove
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment