Skip to content

Draft: Add default empty avatar for users don't have avatar when gravatar is not enabled

What does this MR do and why?

Resolves #2818 (closed)

Returns default avatar when User do not have custom avatar when gravatar is not enabled.

Describe in detail what your merge request does and why.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
image image

How to set up and validate locally

  • setup gdk
  • turn off gravatar in settings (by search gravatar)
  • visit some repo > Settings > Repository (-/settings/repository) > Protected Branches and click choose user box

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

合并请求报告