|
5 | 5 | <div class="flex-container">
|
6 | 6 | <div class="flex-container-nav">
|
7 | 7 | <div class="ui secondary vertical filter menu tw-bg-transparent">
|
8 |
| - <a class="{{if eq .ViewType "your_repositories"}}active{{end}} item" href="{{.Link}}?type=your_repositories&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
| 8 | + <a class="{{if eq .ViewType "your_repositories"}}active{{end}} item" href="?type=your_repositories&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
9 | 9 | {{ctx.Locale.Tr "home.issues.in_your_repos"}}
|
10 | 10 | <strong>{{CountFmt .IssueStats.YourRepositoriesCount}}</strong>
|
11 | 11 | </a>
|
12 |
| - <a class="{{if eq .ViewType "assigned"}}active{{end}} item" href="{{.Link}}?type=assigned&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
| 12 | + <a class="{{if eq .ViewType "assigned"}}active{{end}} item" href="?type=assigned&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
13 | 13 | {{ctx.Locale.Tr "repo.issues.filter_type.assigned_to_you"}}
|
14 | 14 | <strong>{{CountFmt .IssueStats.AssignCount}}</strong>
|
15 | 15 | </a>
|
16 |
| - <a class="{{if eq .ViewType "created_by"}}active{{end}} item" href="{{.Link}}?type=created_by&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
| 16 | + <a class="{{if eq .ViewType "created_by"}}active{{end}} item" href="?type=created_by&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
17 | 17 | {{ctx.Locale.Tr "repo.issues.filter_type.created_by_you"}}
|
18 | 18 | <strong>{{CountFmt .IssueStats.CreateCount}}</strong>
|
19 | 19 | </a>
|
20 | 20 | {{if .PageIsPulls}}
|
21 |
| - <a class="{{if eq .ViewType "review_requested"}}active{{end}} item" href="{{.Link}}?type=review_requested&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
| 21 | + <a class="{{if eq .ViewType "review_requested"}}active{{end}} item" href="?type=review_requested&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
22 | 22 | {{ctx.Locale.Tr "repo.issues.filter_type.review_requested"}}
|
23 | 23 | <strong>{{CountFmt .IssueStats.ReviewRequestedCount}}</strong>
|
24 | 24 | </a>
|
25 |
| - <a class="{{if eq .ViewType "reviewed_by"}}active{{end}} item" href="{{.Link}}?type=reviewed_by&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
| 25 | + <a class="{{if eq .ViewType "reviewed_by"}}active{{end}} item" href="?type=reviewed_by&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
26 | 26 | {{ctx.Locale.Tr "repo.issues.filter_type.reviewed_by_you"}}
|
27 | 27 | <strong>{{CountFmt .IssueStats.ReviewedCount}}</strong>
|
28 | 28 | </a>
|
29 | 29 | {{end}}
|
30 |
| - <a class="{{if eq .ViewType "mentioned"}}active{{end}} item" href="{{.Link}}?type=mentioned&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
| 30 | + <a class="{{if eq .ViewType "mentioned"}}active{{end}} item" href="?type=mentioned&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
31 | 31 | {{ctx.Locale.Tr "repo.issues.filter_type.mentioning_you"}}
|
32 | 32 | <strong>{{CountFmt .IssueStats.MentionCount}}</strong>
|
33 | 33 | </a>
|
|
36 | 36 | <div class="flex-container-main content">
|
37 | 37 | <div class="list-header">
|
38 | 38 | <div class="small-menu-items ui compact tiny menu list-header-toggle">
|
39 |
| - <a class="item{{if not .IsShowClosed}} active{{end}}" href="{{.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state=open&q={{$.Keyword}}"> |
| 39 | + <a class="item{{if not .IsShowClosed}} active{{end}}" href="?type={{$.ViewType}}&sort={{$.SortType}}&state=open&q={{$.Keyword}}"> |
40 | 40 | {{svg "octicon-issue-opened" 16 "gt-mr-3"}}
|
41 | 41 | {{ctx.Locale.PrettyNumber .IssueStats.OpenCount}} {{ctx.Locale.Tr "repo.issues.open_title"}}
|
42 | 42 | </a>
|
43 |
| - <a class="item{{if .IsShowClosed}} active{{end}}" href="{{.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state=closed&q={{$.Keyword}}"> |
| 43 | + <a class="item{{if .IsShowClosed}} active{{end}}" href="?type={{$.ViewType}}&sort={{$.SortType}}&state=closed&q={{$.Keyword}}"> |
44 | 44 | {{svg "octicon-issue-closed" 16 "gt-mr-3"}}
|
45 | 45 | {{ctx.Locale.PrettyNumber .IssueStats.ClosedCount}} {{ctx.Locale.Tr "repo.issues.closed_title"}}
|
46 | 46 | </a>
|
|
0 commit comments