Added create issue
This commit is contained in:
parent
23d103c721
commit
2fa8d0c8dd
14 changed files with 34 additions and 52 deletions
|
@ -102,7 +102,10 @@ func CreateTimeLimitCode(data string, minutes int, startInf interface{}) string
|
|||
|
||||
// AvatarLink returns avatar link by given e-mail.
|
||||
func AvatarLink(email string) string {
|
||||
return "/avatar/" + EncodeMd5(email)
|
||||
if Service.EnableCacheAvatar {
|
||||
return "/avatar/" + EncodeMd5(email)
|
||||
}
|
||||
return "http://1.gravatar.com/avatar/" + EncodeMd5(email)
|
||||
}
|
||||
|
||||
// Seconds-based time units
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue