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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
a9f1ef27
Commit
a9f1ef27
authored
Oct 01, 2018
by
George Tsiolis
Committed by
Clement Ho
Oct 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link component to user avatar link component
parent
c9375e63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
app/assets/javascripts/vue_shared/components/user_avatar/user_avatar_link.vue
...ts/vue_shared/components/user_avatar/user_avatar_link.vue
+4
-2
changelogs/unreleased/add-gl-link-to-user-avatar-link.yml
changelogs/unreleased/add-gl-link-to-user-avatar-link.yml
+5
-0
No files found.
app/assets/javascripts/vue_shared/components/user_avatar/user_avatar_link.vue
View file @
a9f1ef27
...
...
@@ -18,12 +18,14 @@
*/
import
{
Link
}
from
'
@gitlab-org/gitlab-ui
'
;
import
userAvatarImage
from
'
./user_avatar_image.vue
'
;
import
tooltip
from
'
../../directives/tooltip
'
;
export
default
{
name
:
'
UserAvatarLink
'
,
components
:
{
'
gl-link
'
:
Link
,
userAvatarImage
,
},
directives
:
{
...
...
@@ -83,7 +85,7 @@ export default {
</
script
>
<
template
>
<
a
<
gl-link
:href=
"linkHref"
class=
"user-avatar-link"
>
<user-avatar-image
...
...
@@ -99,5 +101,5 @@ export default {
:title=
"tooltipText"
:tooltip-placement=
"tooltipPlacement"
>
{{
username
}}
</span>
</
a
>
</
gl-link
>
</
template
>
changelogs/unreleased/add-gl-link-to-user-avatar-link.yml
0 → 100644
View file @
a9f1ef27
---
title
:
Add link component to UserAvatarLink component
merge_request
:
21986
author
:
George Tsiolis
type
:
other
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