%tr{class: "user_#{u.id}"}
%td.name= link_to u.name, admin_user_path(u)
%td.projects_access
- - u.projects.in_namespace(@group).each do |project|
+ - u.authorized_projects.in_namespace(@group).each do |project|
- u_p = u.users_projects.in_project(project).first
%span
= project.name
%h3.page_title GitLab Flavored Markdown
.back_link
- = link_to help_path do
+ = link_to help_path do
← to index
%hr
for commits
-# this example will only be shown if the user has a project with at least one issue
- - if @project = current_user.projects.first
+ - if @project = current_user.authorized_projects.first
- if issue = @project.issues.first
%p For example in your #{link_to @project.name, project_path(@project)} project, writing:
%pre= "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."