aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/issue/labels/labels_sidebar.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/labels/labels_sidebar.tmpl')
-rw-r--r--templates/repo/issue/labels/labels_sidebar.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/issue/labels/labels_sidebar.tmpl b/templates/repo/issue/labels/labels_sidebar.tmpl
index bd878d6f5..89fe26b75 100644
--- a/templates/repo/issue/labels/labels_sidebar.tmpl
+++ b/templates/repo/issue/labels/labels_sidebar.tmpl
@@ -1,10 +1,10 @@
<div class="ui labels list">
- <span class="no-select item {{if .ctx.HasSelectedLabel}}gt-hidden{{end}}">{{.ctx.locale.Tr "repo.issues.new.no_label"}}</span>
+ <span class="no-select item {{if .root.HasSelectedLabel}}gt-hidden{{end}}">{{.root.locale.Tr "repo.issues.new.no_label"}}</span>
<span class="labels-list">
- {{range .ctx.Labels}}
+ {{range .root.Labels}}
{{template "repo/issue/labels/label" dict "root" $.root "label" .}}
{{end}}
- {{range .ctx.OrgLabels}}
+ {{range .root.OrgLabels}}
{{template "repo/issue/labels/label" dict "root" $.root "label" .}}
{{end}}
</span>