mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 22:35:26 +03:00
9 lines
499 B
Go HTML Template
9 lines
499 B
Go HTML Template
|
<div class="ui small dropdown selection">
|
||
|
<input name="all" type="hidden" value="{{.All}}">{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
||
|
<div class="text">{{if .All}}{{ctx.Locale.Tr "repo.commits.search_all"}}{{else}}{{ctx.Locale.Tr "repo.commits.search_branch"}}{{end}}</div>
|
||
|
<div class="menu">
|
||
|
<div class="item" data-value="false">{{ctx.Locale.Tr "repo.commits.search_branch"}}</div>
|
||
|
<div class="item" data-value="true">{{ctx.Locale.Tr "repo.commits.search_all"}}</div>
|
||
|
</div>
|
||
|
</div>
|