mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix wording when user is unassigned from an issue (#5769)
Previous Gitea would display that the user had unassigned themselves even if the actor was not the user. Fixes #4418
This commit is contained in:
@@ -124,7 +124,11 @@
|
||||
</a>
|
||||
<span class="text grey">
|
||||
<a href="{{.Assignee.HomeLink}}">{{.Assignee.Name}}</a>
|
||||
{{$.i18n.Tr "repo.issues.remove_assignee_at" $createdStr | Safe}}
|
||||
{{ if eq .Poster.ID .Assignee.ID }}
|
||||
{{$.i18n.Tr "repo.issues.remove_self_assignment" $createdStr | Safe}}
|
||||
{{ else }}
|
||||
{{$.i18n.Tr "repo.issues.remove_assignee_at" .Poster.Name $createdStr | Safe}}
|
||||
{{ end }}
|
||||
</span>
|
||||
{{else}}
|
||||
<a class="ui avatar image" href="{{.Assignee.HomeLink}}">
|
||||
|
Reference in New Issue
Block a user