mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-03 19:03:05 +02:00
Match archived filter UI with Repositories
This commit is contained in:
parent
97b886d916
commit
710352a939
@ -161,8 +161,6 @@
|
||||
"search.type_tooltip": "Search type",
|
||||
"search.fuzzy": "Fuzzy",
|
||||
"search.fuzzy_tooltip": "Include results that closely match the search term",
|
||||
"search.code_archived_filter.all": "Archived and not archived",
|
||||
"search.code_archived_filter.not_archived": "Not Archived",
|
||||
"search.words": "Words",
|
||||
"search.words_tooltip": "Include only results that match the search term words",
|
||||
"search.regexp": "Regexp",
|
||||
|
||||
@ -15,9 +15,10 @@
|
||||
<span class="text">{{ctx.Locale.Tr "filter_title"}}</span>
|
||||
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
||||
<div class="menu flex-items-menu">
|
||||
<label class="item"><input type="radio" name="archived" {{if eq .ArchivedMode "include"}}checked{{end}} value="include"> {{ctx.Locale.Tr "search.code_archived_filter.all"}}</label>
|
||||
<label class="item"><input type="radio" name="archived" {{if eq .ArchivedMode "exclude"}}checked{{end}} value="exclude"> {{ctx.Locale.Tr "search.code_archived_filter.not_archived"}}</label>
|
||||
<label class="item"><input type="radio" name="clear-filter"> {{ctx.Locale.Tr "filter.clear"}}</label>
|
||||
<div class="divider"></div>
|
||||
<label class="item"><input type="radio" name="archived" {{if eq .ArchivedMode "only"}}checked{{end}} value="only"> {{ctx.Locale.Tr "filter.is_archived"}}</label>
|
||||
<label class="item"><input type="radio" name="archived" {{if eq .ArchivedMode "exclude"}}checked{{end}} value="exclude"> {{ctx.Locale.Tr "filter.not_archived"}}</label>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user