1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00

hide branch on pull request view or create UI (#2454)

This commit is contained in:
Lunny Xiao 2017-09-06 20:02:51 +08:00 committed by Lauris BH
parent 4f9a28e1f5
commit 95c408ffa5

View File

@ -1,3 +1,4 @@
{{if and (not .Issue.IsPull) (not .PageIsComparePull)}}
<input id="ref_selector" name="ref" type="hidden" value="{{.Issue.Ref}}">
<div class="ui {{if .ReadOnly}}disabled{{end}} floating filter select-branch dropdown" data-no-results="{{.i18n.Tr "repo.pulls.no_results"}}">
<div class="ui basic small button">
@ -39,3 +40,4 @@
</div>
<div class="ui divider"></div>
{{end}}