mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix spelling avator -> avatar (#14115)
This commit is contained in:
		@@ -2490,5 +2490,5 @@ func handleTeamMentions(ctx *context.Context) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	ctx.Data["MentionableTeams"] = ctx.Repo.Owner.Teams
 | 
						ctx.Data["MentionableTeams"] = ctx.Repo.Owner.Teams
 | 
				
			||||||
	ctx.Data["MentionableTeamsOrg"] = ctx.Repo.Owner.Name
 | 
						ctx.Data["MentionableTeamsOrg"] = ctx.Repo.Owner.Name
 | 
				
			||||||
	ctx.Data["MentionableTeamsOrgAvator"] = ctx.Repo.Owner.RelAvatarLink()
 | 
						ctx.Data["MentionableTeamsOrgAvatar"] = ctx.Repo.Owner.RelAvatarLink()
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -56,7 +56,7 @@
 | 
				
			|||||||
				{{ end }}
 | 
									{{ end }}
 | 
				
			||||||
				{{ range .MentionableTeams }}
 | 
									{{ range .MentionableTeams }}
 | 
				
			||||||
					['{{$.MentionableTeamsOrg}}/{{.Name}}', {key: '{{$.MentionableTeamsOrg}}/{{.Name}}', value: '{{$.MentionableTeamsOrg}}/{{.Name}}', 
 | 
										['{{$.MentionableTeamsOrg}}/{{.Name}}', {key: '{{$.MentionableTeamsOrg}}/{{.Name}}', value: '{{$.MentionableTeamsOrg}}/{{.Name}}', 
 | 
				
			||||||
					name: '{{$.MentionableTeamsOrg}}/{{.Name}}', avatar: '{{$.MentionableTeamsOrgAvator}}'}],
 | 
										name: '{{$.MentionableTeamsOrg}}/{{.Name}}', avatar: '{{$.MentionableTeamsOrgAvatar}}'}],
 | 
				
			||||||
				{{ end }}
 | 
									{{ end }}
 | 
				
			||||||
			]).values()),
 | 
								]).values()),
 | 
				
			||||||
			{{end}}
 | 
								{{end}}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user