fix href on label in sidebar (#15022)

tokarchuk/v1.17
Norwin 4 years ago committed by GitHub
parent 070c57867d
commit 032f4c3969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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="no-select item {{if .ctx.HasSelectedLabel}}hide{{end}}">{{.ctx.i18n.Tr "repo.issues.new.no_label"}}</span>
<span class="labels-list"> <span class="labels-list">
{{range .ctx.Labels}} {{range .ctx.Labels}}
{{template "repo/issue/labels/label" dict "root" $ "label" .}} {{template "repo/issue/labels/label" dict "root" $.root "label" .}}
{{end}} {{end}}
{{range .ctx.OrgLabels}} {{range .ctx.OrgLabels}}
{{template "repo/issue/labels/label" dict "root" $ "label" .}} {{template "repo/issue/labels/label" dict "root" $.root "label" .}}
{{end}} {{end}}
</span> </span>
</div> </div>

Loading…
Cancel
Save