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
388d4fd1
Commit
388d4fd1
authored
May 14, 2020
by
Florie Guibert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gl-icon on related issues component
parent
06827800
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
app/assets/javascripts/vue_shared/components/issue/related_issuable_item.vue
...pts/vue_shared/components/issue/related_issuable_item.vue
+9
-7
No files found.
app/assets/javascripts/vue_shared/components/issue/related_issuable_item.vue
View file @
388d4fd1
<
script
>
import
'
~/commons/bootstrap
'
;
import
{
GlTooltip
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
Gl
Icon
,
Gl
Tooltip
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
sprintf
}
from
'
~/locale
'
;
import
IssueMilestone
from
'
../../components/issue/issue_milestone.vue
'
;
import
IssueAssignees
from
'
../../components/issue/issue_assignees.vue
'
;
...
...
@@ -13,6 +13,7 @@ export default {
IssueMilestone
,
IssueAssignees
,
CiIcon
,
GlIcon
,
GlTooltip
,
},
directives
:
{
...
...
@@ -44,6 +45,9 @@ export default {
visibility
:
'
hidden
'
,
};
},
iconClasses
()
{
return
`
${
this
.
iconClass
}
ic-
${
this
.
iconName
}
`
;
},
},
};
</
script
>
...
...
@@ -60,13 +64,12 @@ export default {
<!-- Title area: Status icon (XL) and title -->
<div
class=
"item-title d-flex align-items-xl-center mb-xl-0"
>
<div
ref=
"iconElementXL"
>
<icon
<
gl-
icon
v-if=
"hasState"
ref=
"iconElementXL"
class=
"mr-2"
:class=
"iconClass"
class=
"mr-2
d-block
"
:class=
"iconClass
es
"
:name=
"iconName"
:size=
"16"
:title=
"stateTitle"
:aria-label=
"state"
/>
...
...
@@ -74,11 +77,10 @@ export default {
<gl-tooltip
:target=
"() => $refs.iconElementXL"
>
<span
v-html=
"stateTitle"
></span>
</gl-tooltip>
<icon
<
gl-
icon
v-if=
"confidential"
v-gl-tooltip
name=
"eye-slash"
:size=
"16"
:title=
"__('Confidential')"
class=
"confidential-icon append-right-4 align-self-baseline align-self-md-auto mt-xl-0"
:aria-label=
"__('Confidential')"
...
...
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