diff options
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/issue/view_content/comments.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 953aa4c2f0..facc3e2dab 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -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}}"> |