Browse Source

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

for-closed-social
Lunny Xiao 7 years ago
committed by Lauris BH
parent
commit
95c408ffa5
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      templates/repo/issue/branch_selector_field.tmpl

+ 2
- 0
templates/repo/issue/branch_selector_field.tmpl View File

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

Loading…
Cancel
Save