mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-24 17:00:39 +00:00
Fix spelling avator -> avatar (#14115)
This commit is contained in:
parent
27fa4814b8
commit
e0c753e770
2 changed files with 2 additions and 2 deletions
|
@ -2490,5 +2490,5 @@ func handleTeamMentions(ctx *context.Context) {
|
|||
|
||||
ctx.Data["MentionableTeams"] = ctx.Repo.Owner.Teams
|
||||
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 }}
|
||||
{{ range .MentionableTeams }}
|
||||
['{{$.MentionableTeamsOrg}}/{{.Name}}', {key: '{{$.MentionableTeamsOrg}}/{{.Name}}', value: '{{$.MentionableTeamsOrg}}/{{.Name}}',
|
||||
name: '{{$.MentionableTeamsOrg}}/{{.Name}}', avatar: '{{$.MentionableTeamsOrgAvator}}'}],
|
||||
name: '{{$.MentionableTeamsOrg}}/{{.Name}}', avatar: '{{$.MentionableTeamsOrgAvatar}}'}],
|
||||
{{ end }}
|
||||
]).values()),
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in a new issue