debian-mirror-gitlab/app/views/projects/project_members/update.js.haml

4 lines
248 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
- can_admin_project = can?(current_user, :admin_project, @project)
:plain
$("##{dom_id(@project_member)}").replaceWith('#{escape_javascript(render("project_member", member: @project_member, current_user_can_admin_project: can_admin_project))}');