diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2018-02-09 12:32:08 +0100 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2018-02-13 18:04:51 +0100 |
commit | 2e6dea7aab9daa2c876b7a77f51821b0fca07b7f (patch) | |
tree | 016f777a3da2388dbb59d41013fd98fb2de313f1 /app/views/shared/projects/_project.html.haml | |
parent | c015ea818d1c08382c96ed719b7c3d7f8ce78e61 (diff) | |
download | gitlab-ce-2e6dea7aab9daa2c876b7a77f51821b0fca07b7f.tar.gz |
Retrieve project creator's avatar by creator, not creator#email.
Diffstat (limited to 'app/views/shared/projects/_project.html.haml')
-rw-r--r-- | app/views/shared/projects/_project.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml index 2a75b46d376..33435216c14 100644 --- a/app/views/shared/projects/_project.html.haml +++ b/app/views/shared/projects/_project.html.haml @@ -17,7 +17,7 @@ .avatar-container.s40 = link_to project_path(project), class: dom_class(project) do - if project.creator && use_creator_avatar - = image_tag avatar_icon(project.creator.email, 40), class: "avatar s40", alt:'' + = image_tag avatar_icon_for_user(project.creator, 40), class: "avatar s40", alt:'' - else = project_icon(project, alt: '', class: 'avatar project-avatar s40') .project-details |