mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-03-12 00:12:37 +01:00
closes #6909 related to forgejo/design#14 # Description Adds the following boolean operators for issues when using an indexer (with minor caveats) - `+term`: `term` MUST be present for any result - `-term`: negation; exclude results that contain `term` - `"this is a term"`: matches the exact phrase `this is a term` In all cases the special characters may be escaped by the prefix `\` Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6952 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Reviewed-by: Otto <otto@codeberg.org> Co-authored-by: Shiny Nematoda <snematoda.751k2@aleeas.com> Co-committed-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
12 lines
526 B
Go HTML Template
12 lines
526 B
Go HTML Template
{{/* Value - value of the search field (for search results page) */}}
|
|
{{/* Disabled (optional) - if search field/button has to be disabled */}}
|
|
{{/* Placeholder (optional) - placeholder text to be used */}}
|
|
{{/* Tooltip (optional) - a tooltip to be displayed on button hover */}}
|
|
<div class="ui small fluid action input">
|
|
{{template "shared/search/input"
|
|
dict
|
|
"Value" .Value
|
|
"Disabled" .Disabled
|
|
"Placeholder" .Placeholder}}
|
|
{{template "shared/search/button" dict "Disabled" .Disabled "Tooltip" .Tooltip}}
|
|
</div>
|