diff --git a/models/user.go b/models/user.go index cb57b05e5..dad252d92 100755 --- a/models/user.go +++ b/models/user.go @@ -495,9 +495,6 @@ func (u *User) RealSizedAvatarLink(size int) string { // may either be a sub-URL to this site, or a full URL to an external avatar // service. func (u *User) RelAvatarLink() string { - if u.Avatar != "" { - return u.CustomAvatarPath() - } return u.SizedRelAvatarLink(base.DefaultAvatarSize) } diff --git a/templates/repo/cloudbrain/inference/new.tmpl b/templates/repo/cloudbrain/inference/new.tmpl index feeac67cb..cab2035bc 100644 --- a/templates/repo/cloudbrain/inference/new.tmpl +++ b/templates/repo/cloudbrain/inference/new.tmpl @@ -40,7 +40,7 @@ {{template "base/alert" .}} {{end}} {{template "custom/alert_cb" .}} -
+