Link username to profile on Group Members page

When browsing GitLab, a user may want to view a particular user's
other contributions or profile information. This link helps make
that process seamless.
This commit is contained in:
Tom Webster 2015-08-05 17:43:31 -04:00
parent ce47dd4bb0
commit 3bb2aa9f98
No known key found for this signature in database
GPG key ID: 6442DF0A14BA4EFD
2 changed files with 3 additions and 1 deletions

View file

@ -34,6 +34,7 @@ v 7.14.0 (unreleased)
- Add support for CI skipped status
- Fetch code from forks to refs/merge-requests/:id/head when merge request created
- Remove satellites
- Link username to profile on Group Members page (Tom Webster)
v 7.13.2
- Fix randomly failed spec

View file

@ -6,7 +6,8 @@
%span{class: ("list-item-name" if show_controls)}
- if member.user
= image_tag avatar_icon(user.email, 16), class: "avatar s16", alt: ''
%strong= user.name
%strong
= link_to user.name, user_path(user)
%span.cgray= user.username
- if user == current_user
%span.label.label-success It's you