-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
topic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UI
Description
- When a user creates an issue, then the name in the issue list is clickable and points to the profile (which is correct)
- When the user is deleted, then the name changes to "Ghost", but is still clickable and sends to 404 page (which is not correct)
The incorrect line in the template is:
gitea/templates/repo/issue/list.tmpl
Line 223 in 01bd1fc
{{$.i18n.Tr .GetLastEventLabel $timeStr .Poster.HomeLink .Poster.Name | Safe}}
In other places ghost links are handled correctly:
gitea/templates/repo/issue/view_title.tmpl
Lines 39 to 43 in 01bd1fc
{{if gt .Issue.Poster.ID 0}} {{$.i18n.Tr "repo.issues.opened_by" $createdStr .Issue.Poster.HomeLink .Issue.Poster.Name | Safe}} {{else}} {{$.i18n.Tr "repo.issues.opened_by_fake" $createdStr .Issue.Poster.Name | Safe}} {{end}}
I was able to reproduce the bug in:
- Can you reproduce the bug at https://try.gitea.io:
- Yes
- No
- Not relevant
Metadata
Metadata
Assignees
Labels
topic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UI