File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11
11
<!-- Sort -->
12
12
<div class="list-header-sort ui small dropdown type jump item">
13
13
<span class="text">
14
- {{.locale .Tr "repo.issues.filter_sort"}}
14
+ {{ctx.Locale .Tr "repo.issues.filter_sort"}}
15
15
</span>
16
16
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
17
17
<div class="menu">
18
- <a class="{{if or (eq .SortType "closestduedate") (not .SortType)}}active {{end}}item" href="{{$.Link}}?sort=closestduedate&state={{$.State}}&q={{$.Keyword}}">{{.locale .Tr "repo.milestones.filter_sort.earliest_due_data"}}</a>
19
- <a class="{{if eq .SortType "furthestduedate"}}active {{end}}item" href="{{$.Link}}?sort=furthestduedate&state={{$.State}}&q={{$.Keyword}}">{{.locale .Tr "repo.milestones.filter_sort.latest_due_date"}}</a>
20
- <a class="{{if eq .SortType "leastcomplete"}}active {{end}}item" href="{{$.Link}}?sort=leastcomplete&state={{$.State}}&q={{$.Keyword}}">{{.locale .Tr "repo.milestones.filter_sort.least_complete"}}</a>
21
- <a class="{{if eq .SortType "mostcomplete"}}active {{end}}item" href="{{$.Link}}?sort=mostcomplete&state={{$.State}}&q={{$.Keyword}}">{{.locale .Tr "repo.milestones.filter_sort.most_complete"}}</a>
22
- <a class="{{if eq .SortType "mostissues"}}active {{end}}item" href="{{$.Link}}?sort=mostissues&state={{$.State}}&q={{$.Keyword}}">{{.locale .Tr "repo.milestones.filter_sort.most_issues"}}</a>
23
- <a class="{{if eq .SortType "leastissues"}}active {{end}}item" href="{{$.Link}}?sort=leastissues&state={{$.State}}&q={{$.Keyword}}">{{.locale .Tr "repo.milestones.filter_sort.least_issues"}}</a>
18
+ <a class="{{if or (eq .SortType "closestduedate") (not .SortType)}}active {{end}}item" href="{{$.Link}}?sort=closestduedate&state={{$.State}}&q={{$.Keyword}}">{{ctx.Locale .Tr "repo.milestones.filter_sort.earliest_due_data"}}</a>
19
+ <a class="{{if eq .SortType "furthestduedate"}}active {{end}}item" href="{{$.Link}}?sort=furthestduedate&state={{$.State}}&q={{$.Keyword}}">{{ctx.Locale .Tr "repo.milestones.filter_sort.latest_due_date"}}</a>
20
+ <a class="{{if eq .SortType "leastcomplete"}}active {{end}}item" href="{{$.Link}}?sort=leastcomplete&state={{$.State}}&q={{$.Keyword}}">{{ctx.Locale .Tr "repo.milestones.filter_sort.least_complete"}}</a>
21
+ <a class="{{if eq .SortType "mostcomplete"}}active {{end}}item" href="{{$.Link}}?sort=mostcomplete&state={{$.State}}&q={{$.Keyword}}">{{ctx.Locale .Tr "repo.milestones.filter_sort.most_complete"}}</a>
22
+ <a class="{{if eq .SortType "mostissues"}}active {{end}}item" href="{{$.Link}}?sort=mostissues&state={{$.State}}&q={{$.Keyword}}">{{ctx.Locale .Tr "repo.milestones.filter_sort.most_issues"}}</a>
23
+ <a class="{{if eq .SortType "leastissues"}}active {{end}}item" href="{{$.Link}}?sort=leastissues&state={{$.State}}&q={{$.Keyword}}">{{ctx.Locale .Tr "repo.milestones.filter_sort.least_issues"}}</a>
24
24
</div>
25
25
</div>
26
26
{{else}}
You can’t perform that action at this time.
0 commit comments