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
b8808778
Commit
b8808778
authored
Feb 06, 2020
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace blank with _blank in target attribute
parent
d4cfdf22
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
app/assets/javascripts/clusters/components/application_row.vue
...ssets/javascripts/clusters/components/application_row.vue
+1
-1
app/assets/javascripts/diffs/components/diff_file_header.vue
app/assets/javascripts/diffs/components/diff_file_header.vue
+1
-1
app/assets/javascripts/lib/utils/url_utility.js
app/assets/javascripts/lib/utils/url_utility.js
+1
-1
ee/app/assets/javascripts/analytics/code_review_analytics/components/merge_request_table.vue
.../code_review_analytics/components/merge_request_table.vue
+1
-1
ee/app/assets/javascripts/environments/components/deploy_board_component.vue
...cripts/environments/components/deploy_board_component.vue
+1
-1
No files found.
app/assets/javascripts/clusters/components/application_row.vue
View file @
b8808778
...
...
@@ -307,7 +307,7 @@ export default {
<a
v-if=
"titleLink"
:href=
"titleLink"
target=
"blank"
target=
"
_
blank"
rel=
"noopener noreferrer"
class=
"js-cluster-application-title"
>
{{
title
}}
</a
...
...
app/assets/javascripts/diffs/components/diff_file_header.vue
View file @
b8808778
...
...
@@ -285,7 +285,7 @@ export default {
ref=
"viewButton"
v-gl-tooltip
.
hover
:href=
"diffFile.view_path"
target=
"blank"
target=
"
_
blank"
class=
"view-file"
data-track-event=
"click_toggle_view_sha_button"
data-track-label=
"diff_toggle_view_sha_button"
...
...
app/assets/javascripts/lib/utils/url_utility.js
View file @
b8808778
...
...
@@ -166,7 +166,7 @@ export const setUrlFragment = (url, fragment) => {
export
function
visitUrl
(
url
,
external
=
false
)
{
if
(
external
)
{
// Simulate `target="blank" rel="noopener noreferrer"`
// Simulate `target="
_
blank" rel="noopener noreferrer"`
// See https://mathiasbynens.github.io/rel-noopener/
const
otherWindow
=
window
.
open
();
otherWindow
.
opener
=
null
;
...
...
ee/app/assets/javascripts/analytics/code_review_analytics/components/merge_request_table.vue
View file @
b8808778
...
...
@@ -122,7 +122,7 @@ export default {
</template>
<
template
#cell(author)=
"{ value }"
>
<gl-avatar-link
v-gl-tooltip
target=
"blank"
:href=
"value.web_url"
:title=
"value.name"
>
<gl-avatar-link
v-gl-tooltip
target=
"
_
blank"
:href=
"value.web_url"
:title=
"value.name"
>
<gl-avatar
:size=
"24"
:src=
"value.avatar_url"
:entity-name=
"value.name"
/>
</gl-avatar-link>
</
template
>
...
...
ee/app/assets/javascripts/environments/components/deploy_board_component.vue
View file @
b8808778
...
...
@@ -116,7 +116,7 @@ export default {
<template
v-else
>
<div
v-if=
"hasLegacyAppLabel"
class=
"bs-callout bs-callout-warning mb-0 mt-0"
>
<span
v-html=
"legacyLabelWarningMessage"
></span>
<gl-link
target=
"blank"
:href=
"deployBoardsHelpPath"
>
<gl-link
target=
"
_
blank"
:href=
"deployBoardsHelpPath"
>
<strong>
{{
__
(
'
More Information
'
)
}}
</strong>
</gl-link>
</div>
...
...
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