summaryrefslogtreecommitdiff
path: root/app/views/team_members/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/team_members/show.html.haml')
-rw-r--r--app/views/team_members/show.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/team_members/show.html.haml b/app/views/team_members/show.html.haml
index bcdb5c6f90e..d7e09bced63 100644
--- a/app/views/team_members/show.html.haml
+++ b/app/views/team_members/show.html.haml
@@ -3,9 +3,9 @@
.team_member_show
- if can? current_user, :admin_project, @project
- = link_to 'Remove from team', project_team_member_path(:project_id => @project, :id => @team_member.id), :confirm => 'Are you sure?', :method => :delete, :class => "right btn btn-danger"
+ = link_to 'Remove from team', project_team_member_path(project_id: @project, id: @team_member.id), confirm: 'Are you sure?', method: :delete, class: "right btn btn-danger"
.profile_avatar_holder
- = image_tag gravatar_icon(user.email, 60), :class => "borders"
+ = image_tag gravatar_icon(user.email, 60), class: "borders"
%h3
= user.name
%small
@@ -14,7 +14,7 @@
%hr
.back_link
%br
- = link_to team_project_path(@project), :class => "" do
+ = link_to team_project_path(@project), class: "" do
← To team list
%br
.row
@@ -46,10 +46,10 @@
%tr
%td
Project Access:
- %small (#{link_to "read more", help_permissions_path, :class => "vlink"})
+ %small (#{link_to "read more", help_permissions_path, class: "vlink"})
%td
- = form_for(@team_member, :as => :team_member, :url => project_team_member_path(@project, @team_member)) do |f|
- = f.select :project_access, options_for_select(Project.access_options, @team_member.project_access), {}, :class => "project-access-select", :disabled => !allow_admin
+ = form_for(@team_member, as: :team_member, url: project_team_member_path(@project, @team_member)) do |f|
+ = f.select :project_access, options_for_select(Project.access_options, @team_member.project_access), {}, class: "project-access-select", disabled: !allow_admin
%hr
= render user.recent_events.limit(5)
:javascript