Skip to content

Commit 712e19f

Browse files
authored
fix missed RenderLabel change in card template (#29772)
regression of #29680 close #29770 PS: it would be nice to have a linter that is able to check template helpers ...
1 parent df60dbf commit 712e19f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/card.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
{{if or .Labels .Assignees}}
6262
<div class="extra content labels-list gt-p-0 gt-pt-2">
6363
{{range .Labels}}
64-
<a target="_blank" href="{{$.Issue.Repo.Link}}/issues?labels={{.ID}}">{{RenderLabel ctx .}}</a>
64+
<a target="_blank" href="{{$.Issue.Repo.Link}}/issues?labels={{.ID}}">{{RenderLabel ctx ctx.Locale .}}</a>
6565
{{end}}
6666
<div class="right floated">
6767
{{range .Assignees}}

0 commit comments

Comments
 (0)