Skip to content

Commit

Permalink
fix missed RenderLabel change in card template (#29772)
Browse files Browse the repository at this point in the history
regression of #29680
close  #29770

PS: it would be nice to have a linter that is able to check template
helpers ...
  • Loading branch information
6543 committed Mar 13, 2024
1 parent df60dbf commit 712e19f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/card.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{{if or .Labels .Assignees}}
<div class="extra content labels-list gt-p-0 gt-pt-2">
{{range .Labels}}
<a target="_blank" href="{{$.Issue.Repo.Link}}/issues?labels={{.ID}}">{{RenderLabel ctx .}}</a>
<a target="_blank" href="{{$.Issue.Repo.Link}}/issues?labels={{.ID}}">{{RenderLabel ctx ctx.Locale .}}</a>
{{end}}
<div class="right floated">
{{range .Assignees}}
Expand Down

0 comments on commit 712e19f

Please sign in to comment.