-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Use shared/issueicon
template in projects
#24922
Conversation
But the |
Adding those classes to the parent node in the issue list slighly misaligns the icon (the icon there is not vertically centered in its container there). I'm all for sharing more HTML, but in this case I just don't see it feasible and the template should only return the BTW, If ever necessary, we can add dict arguments to the template to alter behaviour like size for example. |
* upstream/main: Use the type RefName for all the needed places and fix pull mirror sync bugs (go-gitea#24634) [skip ci] Updated translations via Crowdin Add Link to Stars and Forks Page to Repo List (go-gitea#24931) Fix documentation ref (go-gitea#24934) Add Chinese docs for help, contribution and development (go-gitea#24925) Merge two translation contributing documents (go-gitea#23939) Add the ability to pin Issues (go-gitea#24406) Use `shared/issueicon` template in projects (go-gitea#24922) Allow skipping forks and mirrors from being indexed (go-gitea#23187) Add Chinese documentations for Actions (go-gitea#24902) # Conflicts: # templates/repo/issue/view_content/sidebar.tmpl
We can reuse the recently created subtemplate here. I also checked the whole templates for similar constructs, these appear to be the only one.