1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-02 16:24:25 +00:00
gitea/modules/base
Andrew Burns 35b02997f8 Fix Gravatar images in web view (like commit listing)
Related to #700

In the original bug report it was referencing only the sytem avatar images for setup users (like in the header); however the problem also persists with things like commit history.

This commit fixes the `tool.AvatarLink` function so that it also uses the already existing `avatar.HashEmail` function.

I also refactored the `tool.AvatarLink` method some to make the control flow more apparent and adhere better to DRY (there were multiple calls to the `EncodeMd5` function that the `HashEmail` function call replaced, now there is only one.)
2014-12-05 11:02:59 -07:00
..
base.go #12, use go-gogs-client 2014-11-14 17:11:30 -05:00
markdown.go Addded sha1 pattern in markdown for current repository 2014-12-01 09:30:35 +01:00
template.go continue work on #255 2014-11-07 16:44:25 -05:00
tool.go Fix Gravatar images in web view (like commit listing) 2014-12-05 11:02:59 -07:00