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
b8f81eda
Commit
b8f81eda
authored
Jan 14, 2021
by
Thomas Randolph
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove `html_safe` calls from strings that don't contain HTML
parent
ceb17dc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/shared/issuable/form/_branch_chooser.html.haml
app/views/shared/issuable/form/_branch_chooser.html.haml
+4
-4
No files found.
app/views/shared/issuable/form/_branch_chooser.html.haml
View file @
b8f81eda
...
...
@@ -6,9 +6,9 @@
-
source_title
,
target_title
=
format_mr_branch_names
(
@merge_request
)
-
vis010
=
_
(
'This merge request is from a private project to an internal project.'
)
.
html_safe
-
vis020
=
_
(
'This merge request is from a private project to a public project.'
)
.
html_safe
-
vis1020
=
_
(
'This merge request is from an internal project to a public project.'
)
.
html_safe
-
vis010
=
_
(
'This merge request is from a private project to an internal project.'
)
-
vis020
=
_
(
'This merge request is from a private project to a public project.'
)
-
vis1020
=
_
(
'This merge request is from an internal project to a public project.'
)
-
i18n
=
{
'010'
=>
vis010
,
'020'
=>
vis020
,
'1020'
=>
vis1020
}
-
source_level
=
@merge_request
.
source_project
.
visibility_level
...
...
@@ -42,5 +42,5 @@
.gl-alert-body
=
visibilityMismatchString
%br
=
_
(
'Review the target project before submitting to avoid exposing %{source} changes.'
)
.
html_safe
%
{
source:
source_visibility
}
=
_
(
'Review the target project before submitting to avoid exposing %{source} changes.'
)
%
{
source:
source_visibility
}
%hr
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