From 032f4c396901085bd3dd850ed173397cd4ff70bf Mon Sep 17 00:00:00 2001 From: Norwin Date: Thu, 18 Mar 2021 12:47:17 +0000 Subject: [PATCH] fix href on label in sidebar (#15022) --- templates/repo/issue/labels/labels_sidebar.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/labels/labels_sidebar.tmpl b/templates/repo/issue/labels/labels_sidebar.tmpl index 1d61ecf3df..77f9a50358 100644 --- a/templates/repo/issue/labels/labels_sidebar.tmpl +++ b/templates/repo/issue/labels/labels_sidebar.tmpl @@ -2,10 +2,10 @@ {{.ctx.i18n.Tr "repo.issues.new.no_label"}} {{range .ctx.Labels}} - {{template "repo/issue/labels/label" dict "root" $ "label" .}} + {{template "repo/issue/labels/label" dict "root" $.root "label" .}} {{end}} {{range .ctx.OrgLabels}} - {{template "repo/issue/labels/label" dict "root" $ "label" .}} + {{template "repo/issue/labels/label" dict "root" $.root "label" .}} {{end}}