Reporter cant create MR. Show user authorized projects in Admin area
This commit is contained in:
parent
96ba1708ac
commit
d1e63c7df2
6 changed files with 14 additions and 26 deletions
|
@ -106,8 +106,8 @@
|
|||
%td= link_to group.name, admin_group_path(group)
|
||||
|
||||
|
||||
- if @admin_user.personal_projects.present?
|
||||
%h5 Personal Projects:
|
||||
- if @admin_user.authorized_projects.present?
|
||||
%h5 Authorized Projects:
|
||||
%br
|
||||
|
||||
%table.zebra-striped
|
||||
|
@ -118,7 +118,7 @@
|
|||
%th
|
||||
%th
|
||||
|
||||
- @admin_user.tm_in_personal_projects.each do |tm|
|
||||
- @admin_user.tm_in_authorized_projects.each do |tm|
|
||||
- project = tm.project
|
||||
%tr
|
||||
%td= link_to project.name_with_namespace, admin_project_path(project)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue