diff options
author | 6543 <6543@obermui.de> | 2024-04-18 02:16:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 00:16:52 +0000 |
commit | be5be0ac81ce50ad5adb079af6ca4e8c396aaece (patch) | |
tree | 0c8e8874ee595d77056b2b342835078a40dcde04 /templates/shared | |
parent | 3feba9f1f44156c256a30d25ad1c25f751819c94 (diff) | |
download | gitea-be5be0ac81ce50ad5adb079af6ca4e8c396aaece.tar.gz gitea-be5be0ac81ce50ad5adb079af6ca4e8c396aaece.zip |
Expose fuzzy search for issues/pulls (#29701)
close #29685
---------
Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'templates/shared')
-rw-r--r-- | templates/shared/search/fuzzy.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/shared/search/fuzzy.tmpl b/templates/shared/search/fuzzy.tmpl index 6ddb03c004..5c09d3c150 100644 --- a/templates/shared/search/fuzzy.tmpl +++ b/templates/shared/search/fuzzy.tmpl @@ -2,9 +2,9 @@ {{/* IsFuzzy - state of the fuzzy search toggle */}} <div class="ui small dropdown selection {{if .Disabled}} disabled{{end}}" data-tooltip-content="{{ctx.Locale.Tr "search.type_tooltip"}}"> <input name="fuzzy" type="hidden"{{if .Disabled}} disabled{{end}} value="{{.IsFuzzy}}">{{svg "octicon-triangle-down" 14 "dropdown icon"}} - <div class="text">{{if .IsFuzzy}}{{ctx.Locale.Tr "search.fuzzy"}}{{else}}{{ctx.Locale.Tr "search.match"}}{{end}}</div> + <div class="text">{{if .IsFuzzy}}{{ctx.Locale.Tr "search.fuzzy"}}{{else}}{{ctx.Locale.Tr "search.exact"}}{{end}}</div> <div class="menu"> <div class="item" data-value="true" data-tooltip-content="{{ctx.Locale.Tr "search.fuzzy_tooltip"}}">{{ctx.Locale.Tr "search.fuzzy"}}</div> - <div class="item" data-value="false" data-tooltip-content="{{ctx.Locale.Tr "search.match_tooltip"}}">{{ctx.Locale.Tr "search.match"}}</div> + <div class="item" data-value="false" data-tooltip-content="{{ctx.Locale.Tr "search.exact_tooltip"}}">{{ctx.Locale.Tr "search.exact"}}</div> </div> </div> |