aboutsummaryrefslogtreecommitdiffstats
path: root/templates/projects/view.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-11-05 14:04:26 +0800
committerGitHub <noreply@github.com>2024-11-05 14:04:26 +0800
commit4a469c8e1b3c1d153316aec9fd8cbdd3e1dd54e8 (patch)
tree3fc7eae5668299c7dbd5933cd14839bbccacefdd /templates/projects/view.tmpl
parentb068dbd40ee3b4dc7d18cdcf168f0c24cea234c0 (diff)
downloadgitea-4a469c8e1b3c1d153316aec9fd8cbdd3e1dd54e8.tar.gz
gitea-4a469c8e1b3c1d153316aec9fd8cbdd3e1dd54e8.zip
Refactor template ctx and render utils (#32422)
Clean up the templates
Diffstat (limited to 'templates/projects/view.tmpl')
-rw-r--r--templates/projects/view.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl
index f5c1bb7670..71f9d059ad 100644
--- a/templates/projects/view.tmpl
+++ b/templates/projects/view.tmpl
@@ -49,7 +49,7 @@
{{svg "octicon-check"}}
{{end}}
{{end}}
- {{RenderLabel $.Context ctx.Locale .}}
+ {{ctx.RenderUtils.RenderLabel .}}
<p class="tw-ml-auto">{{template "repo/issue/labels/label_archived" .}}</p>
</a>
{{end}}