aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/issue/labels/labels_sidebar.tmpl4
1 files 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 @@
<span class="no-select item {{if .ctx.HasSelectedLabel}}hide{{end}}">{{.ctx.i18n.Tr "repo.issues.new.no_label"}}</span>
<span class="labels-list">
{{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}}
</span>
</div>