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
00cf6243
Commit
00cf6243
authored
Mar 27, 2020
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix HAML format and locale file
parent
1afc3fbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
ee/app/views/projects/security/vulnerabilities/show.html.haml
...pp/views/projects/security/vulnerabilities/show.html.haml
+2
-2
locale/gitlab.pot
locale/gitlab.pot
+16
-4
No files found.
ee/app/views/projects/security/vulnerabilities/show.html.haml
View file @
00cf6243
...
...
@@ -34,14 +34,14 @@
-
if
location
[
'start_line'
]
-
link_text
=
_
(
"%{link_text}:%{line}"
)
%
{
link_text:
link_text
,
line:
location
[
'start_line'
]
}
-
offset
=
_
(
"#L%{start_line}"
)
%
{
start_line:
location
[
'start_line'
]
}
File:
=
_
(
'File:'
)
%a
{
href:
project_blob_path
(
@project
,
tree_join
(
@vulnerability
.
project
.
default_branch
,
location
[
'file'
]))
+
offset
,
target:
'_blank'
,
rel:
'noopener noreferrer'
}=
link_text
-
if
location
[
'class'
]
%li
=
_
(
"Class: %{className}"
)
%
{
className:
location
[
'class'
]
}
-
if
location
[
'method'
]
%li
Method:
=
_
(
'Method:'
)
%code
=
_
(
"%{method}"
)
%
{
method:
location
[
'method'
]
}
-
if
@vulnerability
.
finding
.
links
.
any?
...
...
locale/gitlab.pot
View file @
00cf6243
...
...
@@ -71,6 +71,9 @@ msgstr ""
msgid "\"%{path}\" did not exist on \"%{ref}\""
msgstr ""
msgid "#L%{start_line}"
msgstr ""
msgid "%d changed file"
msgid_plural "%d changed files"
msgstr[0] ""
...
...
@@ -305,7 +308,7 @@ msgstr ""
msgid "%{filePath} deleted"
msgstr ""
msgid "%{file}
:%{line}
"
msgid "%{file}"
msgstr ""
msgid "%{firstLabel} +%{labelCount} more"
...
...
@@ -353,6 +356,9 @@ msgstr ""
msgid "%{link_start}Read more%{link_end} about role permissions"
msgstr ""
msgid "%{link_text}:%{line}"
msgstr ""
msgid "%{link} can be used for binding events when something is happening within the project."
msgstr ""
...
...
@@ -8897,9 +8903,6 @@ msgstr ""
msgid "File Hooks (%{count})"
msgstr ""
msgid "File Location"
msgstr ""
msgid "File added"
msgstr ""
...
...
@@ -8930,6 +8933,9 @@ msgstr ""
msgid "File upload error."
msgstr ""
msgid "File:"
msgstr ""
msgid "Files"
msgstr ""
...
...
@@ -12152,6 +12158,9 @@ msgstr ""
msgid "Localization"
msgstr ""
msgid "Location"
msgstr ""
msgid "Lock"
msgstr ""
...
...
@@ -12731,6 +12740,9 @@ msgstr ""
msgid "Method"
msgstr ""
msgid "Method:"
msgstr ""
msgid "Metric was successfully added."
msgstr ""
...
...
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