summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-09-28 06:58:30 -0400
committerStan Hu <stanhu@gmail.com>2018-09-28 07:39:58 -0400
commitb49e6b419acb3e8c129398167ec6b521fc686f8d (patch)
tree3b9256856b8becc0218b1055f19d637950ed0fd7 /app/views/projects/edit.html.haml
parent790eabcaf4a703d2776a0c6e0c461d35598e37b1 (diff)
downloadgitlab-ce-b49e6b419acb3e8c129398167ec6b521fc686f8d.tar.gz
Fix Error 500 when forking projects with Gravatar disabledsh-fix-forks-with-no-gravatar
When Gravatar is disabled, the "no avatar" is used, which failed to revert to the colorful identity icons for namespaces. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50254
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index bfd165d8ba5..07fc9e1c682 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -47,7 +47,7 @@
.form-group
- if @project.avatar?
.avatar-container.s160.append-bottom-15
- = project_icon(@project.full_path, alt: '', class: 'avatar project-avatar s160', width: 160, height: 160)
+ = project_icon(@project, alt: '', class: 'avatar project-avatar s160', width: 160, height: 160)
- if @project.avatar_in_git
%p.light
= _("Project avatar in repository: %{link}").html_safe % { link: @project.avatar_in_git }