mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-19 07:24:03 +01:00
Unify all but a few search boxes to use uniform style, uniform translations and shared templates where possible. Remove a few duplicated search templates, e. g. code search. <details><summary>Example after screenshots:</summary>     </details> Also includes #29700 Co-authored-by: 6543 <6543@obermui.de> --------- Co-authored-by: 6543 <m.huber@kithara.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
4 lines
336 B
Handlebars
4 lines
336 B
Handlebars
{{/* Disable (optional) - if search button has to be disabled */}}
|
|
{{/* Tooltip (optional) - a tooltip to be displayed on hover */}}
|
|
<button class="ui small icon button" aria-label="{{ctx.Locale.Tr "search.search"}}" {{with .Tooltip}}data-tooltip-content="{{.}}"{{end}}{{if .Disabled}} disabled{{end}}>{{svg "octicon-search"}}</button>
|