-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Ghost" user in issue list points 404 page, but should not be clickable #6270
Comments
The example on try.gitea.io (issue #2 in the list) where Ghost should not be clickable: |
@tklein23 could you send a PR to fix that? |
tl;dr: Sorry, I can't do that. A CR would require additional translations for issues.closed_by and issues.merged_by in all supported languages. IMO this is the wrong approach, because this increases the cost for adding new and supporting the existing languages. Someone with more knowledge about the template language should probably see if it's possible to fix the macro and avoid having a "_fake" variant of each issue event. Maybe I can do that once I'm more familiar with the gitea codebase, but for sure I cannot do it right now. |
You don't have to do all of the translations. Only the English one is needed, others will be added as needed on https://crowdin.com . |
I think I've fixed the issue in the above commit, |
The incorrect line in the template is:
gitea/templates/repo/issue/list.tmpl
Line 223 in 01bd1fc
In other places ghost links are handled correctly:
gitea/templates/repo/issue/view_title.tmpl
Lines 39 to 43 in 01bd1fc
I was able to reproduce the bug in:
The text was updated successfully, but these errors were encountered: