-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Unify search boxes #29530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify search boxes #29530
Changes from all commits
9fc1cee
3420d76
cbf68b6
0827d70
68737d1
64d0b72
d647d6a
11dca6e
f57d864
74e70b7
d9b35e3
142ff7c
732b74e
e04497d
94208c1
5774a2c
33f0bab
7525ce0
f1d15fa
788ac65
a7b955f
1dfadb6
dd14dc4
c1dcf7f
8c2d0e4
22124c4
0539de3
e222490
40a58c6
b67c1f5
655fcdd
948a98d
75afa66
f49e69d
3d2d213
ea418f3
8aaa5ca
2372dc3
0601976
d5a1c84
329c2f4
91f7e35
b64a6e9
d17d86e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,26 @@ | |
</div> | ||
</h4> | ||
<div class="ui attached segment"> | ||
{{template "admin/base/search" .}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why did you delete that template? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can answer your question. That's caused by an over-abstraction in old days. At that time, |
||
<div class="ui secondary filter menu gt-ac gt-mx-0"> | ||
<form class="ui form ignore-dirty gt-f1"> | ||
{{template "shared/search/combo" dict "Value" .Keyword "Placeholder" (ctx.Locale.Tr "search.org_kind")}} | ||
</form> | ||
<!-- Sort --> | ||
<div class="ui dropdown type jump item gt-mr-0"> | ||
<span class="text"> | ||
{{ctx.Locale.Tr "repo.issues.filter_sort"}} | ||
</span> | ||
{{svg "octicon-triangle-down" 14 "dropdown icon"}} | ||
<div class="menu"> | ||
<a class="{{if or (eq .SortType "oldest") (not .SortType)}}active {{end}}item" href="{{$.Link}}?sort=oldest&q={{$.Keyword}}">{{ctx.Locale.Tr "repo.issues.filter_sort.oldest"}}</a> | ||
<a class="{{if eq .SortType "newest"}}active {{end}}item" href="{{$.Link}}?sort=newest&q={{$.Keyword}}">{{ctx.Locale.Tr "repo.issues.filter_sort.latest"}}</a> | ||
<a class="{{if eq .SortType "alphabetically"}}active {{end}}item" href="{{$.Link}}?sort=alphabetically&q={{$.Keyword}}">{{ctx.Locale.Tr "repo.issues.label.filter_sort.alphabetically"}}</a> | ||
<a class="{{if eq .SortType "reversealphabetically"}}active {{end}}item" href="{{$.Link}}?sort=reversealphabetically&q={{$.Keyword}}">{{ctx.Locale.Tr "repo.issues.label.filter_sort.reverse_alphabetically"}}</a> | ||
<a class="{{if eq .SortType "recentupdate"}}active {{end}}item" href="{{$.Link}}?sort=recentupdate&q={{$.Keyword}}">{{ctx.Locale.Tr "repo.issues.filter_sort.recentupdate"}}</a> | ||
<a class="{{if eq .SortType "leastupdate"}}active {{end}}item" href="{{$.Link}}?sort=leastupdate&q={{$.Keyword}}">{{ctx.Locale.Tr "repo.issues.filter_sort.leastupdate"}}</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="ui attached table segment"> | ||
<table class="ui very basic striped table unstackable"> | ||
|
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.