Skip to content

Commit

Permalink
hide branch on pull request view or create UI
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Sep 6, 2017
1 parent 4f9a28e commit 3d2704d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/repo/issue/branch_selector_field.tmpl
Original file line number Diff line number Diff line change
@@ -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">
Expand Down Expand Up @@ -39,3 +40,4 @@
</div>

<div class="ui divider"></div>
{{end}}

0 comments on commit 3d2704d

Please sign in to comment.