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
c4e3aecf
Commit
c4e3aecf
authored
Mar 14, 2020
by
Gilang Gumilar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the GlLink component instead of an anchor element
parent
29003150
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
app/assets/javascripts/related_merge_requests/components/related_merge_requests.vue
...ated_merge_requests/components/related_merge_requests.vue
+4
-3
ee/app/assets/javascripts/related_issues/components/related_issues_block.vue
...cripts/related_issues/components/related_issues_block.vue
+4
-2
No files found.
app/assets/javascripts/related_merge_requests/components/related_merge_requests.vue
View file @
c4e3aecf
<
script
>
import
{
mapState
,
mapActions
}
from
'
vuex
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
GlL
ink
,
GlL
oadingIcon
}
from
'
@gitlab/ui
'
;
import
{
sprintf
,
n__
,
s__
}
from
'
~/locale
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
RelatedIssuableItem
from
'
~/vue_shared/components/issue/related_issuable_item.vue
'
;
...
...
@@ -10,6 +10,7 @@ export default {
name
:
'
RelatedMergeRequests
'
,
components
:
{
Icon
,
GlLink
,
GlLoadingIcon
,
RelatedIssuableItem
,
},
...
...
@@ -71,12 +72,12 @@ export default {
<div
id=
"merge-requests"
class=
"card card-slim mt-3"
>
<div
class=
"card-header"
>
<div
class=
"card-title mt-0 mb-0 h5 merge-requests-title position-relative"
>
<
a
<
gl-link
id=
"user-content-related-merge-requests"
class=
"anchor position-absolute text-decoration-none"
href=
"#related-merge-requests"
aria-hidden=
"true"
></a
>
/
>
<span
class=
"mr-1"
>
{{
__
(
'
Related merge requests
'
)
}}
</span>
...
...
ee/app/assets/javascripts/related_issues/components/related_issues_block.vue
View file @
c4e3aecf
<
script
>
import
{
GlLink
}
from
'
@gitlab/ui
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
AddIssuableForm
from
'
./add_issuable_form.vue
'
;
import
RelatedIssuesList
from
'
./related_issues_list.vue
'
;
...
...
@@ -13,6 +14,7 @@ export default {
name
:
'
RelatedIssuesBlock
'
,
components
:
{
Icon
,
GlLink
,
AddIssuableForm
,
RelatedIssuesList
,
},
...
...
@@ -118,12 +120,12 @@ export default {
<div
class=
"card card-slim"
>
<div
:class=
"
{ 'panel-empty-heading border-bottom-0': !hasBody }" class="card-header">
<h3
class=
"card-title mt-0 mb-0 h5 position-relative"
>
<
a
<
gl-link
id=
"user-content-related-issues"
class=
"anchor position-absolute text-decoration-none"
href=
"#related-issues"
aria-hidden=
"true"
></a
>
/
>
{{
__
(
'
Linked issues
'
)
}}
<a
v-if=
"hasHelpPath"
:href=
"helpPath"
>
<i
...
...
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