@@ -631,7 +631,7 @@ func SVG(icon string, others ...interface{}) template.HTML {
631631
632632// Avatar renders user avatars. args: user, size (int), class (string)
633633func Avatar (item interface {}, others ... interface {}) template.HTML {
634- size , class := parseOthers (avatars .DefaultAvatarPixelSize , "ui avatar image vm" , others ... )
634+ size , class := parseOthers (avatars .DefaultAvatarPixelSize , "ui avatar vm" , others ... )
635635
636636 switch t := item .(type ) {
637637 case * user_model.User :
@@ -662,7 +662,7 @@ func AvatarByAction(action *activities_model.Action, others ...interface{}) temp
662662
663663// RepoAvatar renders repo avatars. args: repo, size(int), class (string)
664664func RepoAvatar (repo * repo_model.Repository , others ... interface {}) template.HTML {
665- size , class := parseOthers (avatars .DefaultAvatarPixelSize , "ui avatar image " , others ... )
665+ size , class := parseOthers (avatars .DefaultAvatarPixelSize , "ui avatar" , others ... )
666666
667667 src := repo .RelAvatarLink ()
668668 if src != "" {
@@ -673,7 +673,7 @@ func RepoAvatar(repo *repo_model.Repository, others ...interface{}) template.HTM
673673
674674// AvatarByEmail renders avatars by email address. args: email, name, size (int), class (string)
675675func AvatarByEmail (email , name string , others ... interface {}) template.HTML {
676- size , class := parseOthers (avatars .DefaultAvatarPixelSize , "ui avatar image " , others ... )
676+ size , class := parseOthers (avatars .DefaultAvatarPixelSize , "ui avatar" , others ... )
677677 src := avatars .GenerateEmailAvatarFastLink (email , size * setting .Avatar .RenderedSizeFactor )
678678
679679 if src != "" {
0 commit comments