summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2013-01-23 23:39:47 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-24 22:31:48 +0200
commit690db9693fcee3beedc467b48fd9e4bd42ee936d (patch)
tree5a170279c4b1ce7ec59479066187f0b6b0cb3b30 /app/views
parenteb99feb4a7e01c4e83203ec014c082205b77ad02 (diff)
downloadgitlab-ce-690db9693fcee3beedc467b48fd9e4bd42ee936d.tar.gz
fix tests
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/teams/show.html.haml6
-rw-r--r--app/views/teams/projects/index.html.haml2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/teams/show.html.haml b/app/views/admin/teams/show.html.haml
index a7470c2d6e0..6a1deaff989 100644
--- a/app/views/admin/teams/show.html.haml
+++ b/app/views/admin/teams/show.html.haml
@@ -52,7 +52,7 @@
%th Team access
%th.cred.span3 Danger Zone!
- @team.members.each do |member|
- %tr.member
+ %tr.member{ class: "user_#{member.id}"}
%td
= link_to [:admin, member] do
= member.name
@@ -62,7 +62,7 @@
%td.bgred
= link_to 'Edit', edit_admin_team_member_path(@team, member), class: "btn small"
&nbsp;
- = link_to 'Remove', admin_team_member_path(@team, member), confirm: 'Remove member from team. Are you sure?', method: :delete, class: "btn danger small"
+ = link_to 'Remove', admin_team_member_path(@team, member), confirm: 'Remove member from team. Are you sure?', method: :delete, class: "btn danger small", id: "remove_member_#{member.id}"
%fieldset
%legend
@@ -84,7 +84,7 @@
%td.bgred
= link_to 'Edit', edit_admin_team_project_path(@team, project), class: "btn small"
&nbsp;
- = link_to 'Relegate', admin_team_project_path(@team, project), confirm: 'Remove project from team. Are you sure?', method: :delete, class: "btn danger small"
+ = link_to 'Relegate', admin_team_project_path(@team, project), confirm: 'Remove project from team. Are you sure?', method: :delete, class: "btn danger small", id: "relegate_project_#{project.id}"
:javascript
$(function(){
diff --git a/app/views/teams/projects/index.html.haml b/app/views/teams/projects/index.html.haml
index b0a50e594cf..af6ffe5f3a4 100644
--- a/app/views/teams/projects/index.html.haml
+++ b/app/views/teams/projects/index.html.haml
@@ -13,7 +13,7 @@
%hr
-%table
+%table.projects-table
%thead
%tr
%th Project name