diff options
author | 6543 <6543@obermui.de> | 2024-03-13 19:00:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 18:00:38 +0000 |
commit | 712e19fa6fbf2f1a5b0a471782d38a7d91e538ae (patch) | |
tree | bd41dbb4905418175313f05374fa5f289629bd70 /templates/repo/issue | |
parent | df60dbfb9918081962614d063485337fb42e0ee7 (diff) | |
download | gitea-712e19fa6fbf2f1a5b0a471782d38a7d91e538ae.tar.gz gitea-712e19fa6fbf2f1a5b0a471782d38a7d91e538ae.zip |
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 ...
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/card.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/card.tmpl b/templates/repo/issue/card.tmpl index ff635c736a..b461c5fc98 100644 --- a/templates/repo/issue/card.tmpl +++ b/templates/repo/issue/card.tmpl @@ -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}} |