Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Project Forum
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Project Forum
Project Forum
Merge requests
!879
Restrict data shown on the user page
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Restrict data shown on the user page
398-participations
into
development
Overview
0
Commits
1
Pipelines
0
Changes
4
Merged
Restrict data shown on the user page
Martin Mladenov
requested to merge
398-participations
into
development
Oct 2, 2022
Overview
0
Commits
1
Pipelines
0
Changes
4
Coordinator:
Admin:
Closes #398
Edited
Oct 2, 2022
by
Martin Mladenov
0
0
Merge request reports
Compare
development
development (base)
and
latest version
latest version
9cb6ba63
1 commit,
Oct 2, 2022
4 files
+
47
−
35
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
app/views/admin/users/show/_course_participations.html.erb
+
5
−
3
View file @ 9cb6ba63
Edit in single-file editor
Open in Web IDE
Show full file
@@ -15,9 +15,11 @@
<tbody>
<%
@user
.
course_participations
.
each
do
|
cp
|
%>
<%=
table_row_link_to_if_rights
cp
,
admin_course_participation_url
(
cp
)
do
%>
<td>
<%=
cp
.
course_edition
.
name_with_code
%>
</td>
<td>
<%=
course_participation_status_tag
cp
%>
</td>
<%
if
can?
:show
,
cp
%>
<%=
table_row_link_to
admin_course_participation_url
(
cp
)
do
%>
<td>
<%=
cp
.
course_edition
.
name_with_code
%>
</td>
<td>
<%=
course_participation_status_tag
cp
%>
</td>
<%
end
%>
<%
end
%>
<%
end
%>
Loading