diff options
author | Norwin <noerw@users.noreply.github.com> | 2021-03-18 12:47:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 14:47:17 +0200 |
commit | 032f4c396901085bd3dd850ed173397cd4ff70bf (patch) | |
tree | ef2e6b4ccf24e46ca9ae27c78e7af8bee54106cd /templates | |
parent | 070c57867d95e4555b5c9ab83a66eb35a3ae2bb4 (diff) | |
download | gitea-032f4c396901085bd3dd850ed173397cd4ff70bf.tar.gz gitea-032f4c396901085bd3dd850ed173397cd4ff70bf.zip |
fix href on label in sidebar (#15022)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/labels/labels_sidebar.tmpl | 4 |
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> |