|
17 | 17 | <input type="text" placeholder="{{ctx.Locale.Tr "repo.issues.filter_labels"}}">
|
18 | 18 | </div>
|
19 | 19 | <a class="item clear-selection" href="#">{{ctx.Locale.Tr "repo.issues.new.clear_labels"}}</a>
|
20 |
| - {{$previousExclusiveScope := "_no_scope"}} |
21 |
| - {{range $data.RepoLabels}} |
22 |
| - {{$exclusiveScope := .ExclusiveScope}} |
23 |
| - {{if and (ne $previousExclusiveScope "_no_scope") (ne $previousExclusiveScope $exclusiveScope)}} |
24 |
| - <div class="divider"></div> |
| 20 | + <div class="scrolling menu"> |
| 21 | + {{$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> |
| 26 | + {{end}} |
| 27 | + {{$previousExclusiveScope = $exclusiveScope}} |
| 28 | + {{template "repo/issue/sidebar/label_list_item" dict "Label" .}} |
25 | 29 | {{end}}
|
26 |
| - {{$previousExclusiveScope = $exclusiveScope}} |
27 |
| - {{template "repo/issue/sidebar/label_list_item" dict "Label" .}} |
28 |
| - {{end}} |
29 |
| - <div class="divider"></div> |
30 |
| - {{$previousExclusiveScope = "_no_scope"}} |
31 |
| - {{range $data.OrgLabels}} |
32 |
| - {{$exclusiveScope := .ExclusiveScope}} |
33 |
| - {{if and (ne $previousExclusiveScope "_no_scope") (ne $previousExclusiveScope $exclusiveScope)}} |
34 |
| - <div class="divider"></div> |
| 30 | + <div class="divider"></div> |
| 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" .}} |
35 | 39 | {{end}}
|
36 |
| - {{$previousExclusiveScope = $exclusiveScope}} |
37 |
| - {{template "repo/issue/sidebar/label_list_item" dict "Label" .}} |
38 |
| - {{end}} |
| 40 | + </div> |
39 | 41 | {{end}}
|
40 | 42 | </div>
|
41 | 43 | </div>
|
|
0 commit comments