Skip to content

Commit 95c408f

Browse files
lunnylafriks
authored andcommitted
hide branch on pull request view or create UI (#2454)
1 parent 4f9a28e commit 95c408f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/repo/issue/branch_selector_field.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{if and (not .Issue.IsPull) (not .PageIsComparePull)}}
12
<input id="ref_selector" name="ref" type="hidden" value="{{.Issue.Ref}}">
23
<div class="ui {{if .ReadOnly}}disabled{{end}} floating filter select-branch dropdown" data-no-results="{{.i18n.Tr "repo.pulls.no_results"}}">
34
<div class="ui basic small button">
@@ -39,3 +40,4 @@
3940
</div>
4041

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

0 commit comments

Comments
 (0)