Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
289b9067
Commit
289b9067
authored
Apr 01, 2019
by
Elias Werberich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port of contribute/fix-project-name-members-page to EE
parent
55f95a34
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/projects/project_members/_groups.html.haml
app/views/projects/project_members/_groups.html.haml
+1
-1
app/views/projects/project_members/_team.html.haml
app/views/projects/project_members/_team.html.haml
+1
-1
changelogs/unreleased/58751-fix-project-name-members-page.yml
...gelogs/unreleased/58751-fix-project-name-members-page.yml
+5
-0
No files found.
app/views/projects/project_members/_groups.html.haml
View file @
289b9067
.card.project-members-groups
.card.project-members-groups
.card-header
.card-header
=
_
(
"Groups with access to <strong>%{project_name}</strong>"
).
html_safe
%
{
project_name:
sanitize
_project_name
(
@project
.
name
)
}
=
_
(
"Groups with access to <strong>%{project_name}</strong>"
).
html_safe
%
{
project_name:
sanitize
(
@project
.
name
,
tags:
[]
)
}
%span
.badge.badge-pill
=
group_links
.
size
%span
.badge.badge-pill
=
group_links
.
size
%ul
.content-list.members-list
%ul
.content-list.members-list
=
render
partial:
'shared/members/group'
,
collection:
group_links
,
as: :group_link
=
render
partial:
'shared/members/group'
,
collection:
group_links
,
as: :group_link
app/views/projects/project_members/_team.html.haml
View file @
289b9067
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
.card
.card
.card-header.flex-project-members-panel
.card-header.flex-project-members-panel
%span
.flex-project-title
%span
.flex-project-title
=
_
(
"Members of <strong>%{project_name}</strong>"
).
html_safe
%
{
project_name:
sanitize
_project_name
(
project
.
name
)
}
=
_
(
"Members of <strong>%{project_name}</strong>"
).
html_safe
%
{
project_name:
sanitize
(
project
.
name
,
tags:
[]
)
}
%span
.badge.badge-pill
=
members
.
total_count
%span
.badge.badge-pill
=
members
.
total_count
=
form_tag
project_project_members_path
(
project
),
method: :get
,
class:
'form-inline member-search-form flex-project-members-form'
do
=
form_tag
project_project_members_path
(
project
),
method: :get
,
class:
'form-inline member-search-form flex-project-members-form'
do
.form-group
.form-group
...
...
changelogs/unreleased/58751-fix-project-name-members-page.yml
0 → 100644
View file @
289b9067
---
title
:
"
Fix
unwanted
character
replacement
on
project
members
page
caused
by
usage
of
sanitize
function"
merge_request
:
25946
author
:
Elias Werberich
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment