mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 13:45:19 +00: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>
|