File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 1919 <a class="item clear-selection" href="#">{{ctx.Locale.Tr "repo.issues.new.clear_labels"}}</a>
2020 <div class="scrolling menu">
2121 {{$previousExclusiveScope := "_no_scope"}}
22- {{range $data.RepoLabels}}
23- {{$exclusiveScope := .ExclusiveScope}}
24- {{if and (ne $previousExclusiveScope "_no_scope") (ne $previousExclusiveScope $exclusiveScope)}}
25- <div class="divider"></div>
22+ {{range $data.AllLabels}}
23+ {{if or (not .IsArchived) (.IsChecked)}}
24+ {{$exclusiveScope := .ExclusiveScope}}
25+ {{if and (ne $previousExclusiveScope "_no_scope") (ne $previousExclusiveScope $exclusiveScope)}}
26+ <div class="divider"></div>
27+ {{end}}
28+ {{$previousExclusiveScope = $exclusiveScope}}
29+ {{template "repo/issue/sidebar/label_list_item" dict "Label" .}}
2630 {{end}}
27- {{$previousExclusiveScope = $exclusiveScope}}
28- {{template "repo/issue/sidebar/label_list_item" dict "Label" .}}
29- {{end}}
30- {{if and $data.RepoLabels $data.OrgLabels}}<div class="divider"></div>{{end}}
31- {{$previousExclusiveScope = "_no_scope"}}
32- {{range $data.OrgLabels}}
33- {{$exclusiveScope := .ExclusiveScope}}
34- {{if and (ne $previousExclusiveScope "_no_scope") (ne $previousExclusiveScope $exclusiveScope)}}
35- <div class="divider"></div>
36- {{end}}
37- {{$previousExclusiveScope = $exclusiveScope}}
38- {{template "repo/issue/sidebar/label_list_item" dict "Label" .}}
3931 {{end}}
4032 </div>
4133 {{end}}
You can’t perform that action at this time.
0 commit comments