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
2bce262e
Commit
2bce262e
authored
Mar 29, 2022
by
dzubova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate user-avatar-link used on triggers-list
Use default gl-avatar and gl-avatar-link instead
parent
d742fcad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
app/assets/javascripts/ci_settings_pipeline_triggers/components/triggers_list.vue
...i_settings_pipeline_triggers/components/triggers_list.vue
+10
-9
No files found.
app/assets/javascripts/ci_settings_pipeline_triggers/components/triggers_list.vue
View file @
2bce262e
<
script
>
import
{
GlTable
,
GlButton
,
GlBadge
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
GlTable
,
GlButton
,
GlBadge
,
GlTooltipDirective
,
GlAvatarLink
,
GlAvatar
}
from
'
@gitlab/ui
'
;
import
{
s__
}
from
'
~/locale
'
;
import
ClipboardButton
from
'
~/vue_shared/components/clipboard_button.vue
'
;
import
TimeAgoTooltip
from
'
~/vue_shared/components/time_ago_tooltip.vue
'
;
import
TooltipOnTruncate
from
'
~/vue_shared/components/tooltip_on_truncate/tooltip_on_truncate.vue
'
;
import
UserAvatarLink
from
'
~/vue_shared/components/user_avatar/user_avatar_link.vue
'
;
export
default
{
i18n
:
{
...
...
@@ -21,7 +20,8 @@ export default {
GlBadge
,
ClipboardButton
,
TooltipOnTruncate
,
UserAvatarLink
,
GlAvatarLink
,
GlAvatar
,
TimeAgoTooltip
,
},
directives
:
{
...
...
@@ -102,13 +102,14 @@ export default {
</
template
>
<
template
#cell(owner)=
"{ item }"
>
<span
class=
"trigger-owner sr-only"
>
{{
item
.
owner
.
name
}}
</span>
<
user
-avatar-link
<
gl
-avatar-link
v-if=
"item.owner"
:link-href=
"item.owner.path"
:img-src=
"item.owner.avatarUrl"
:tooltip-text=
"item.owner.name"
:img-alt=
"item.owner.name"
/>
v-gl-tooltip
:href=
"item.owner.path"
:title=
"item.owner.name"
>
<gl-avatar
:size=
"24"
:src=
"item.owner.avatarUrl"
/>
</gl-avatar-link>
</
template
>
<
template
#cell(lastUsed)=
"{ item }"
>
<time-ago-tooltip
v-if=
"item.lastUsed"
:time=
"item.lastUsed"
/>
...
...
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