summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-01-31 00:10:10 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-01-31 00:12:05 -0200
commit84bcb04099a995292ca26d776f595c4d00959bd4 (patch)
tree556711fbfcccdb6819304df3fd0b29bb5c4c7dad /app/views/projects
parentadc0e41f2b0e2a8fa15877246738029666716dc2 (diff)
downloadgitlab-ce-84bcb04099a995292ca26d776f595c4d00959bd4.tar.gz
Remove new branch button for confidential issues
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/issues/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 9fa00811af0..11636d7ebc7 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -75,7 +75,7 @@
// This element is filled in using JavaScript.
.content-block.content-block-small
- = render 'new_branch'
+ = render 'new_branch' unless @issue.confidential?
= render 'award_emoji/awards_block', awardable: @issue, inline: true
%section.issuable-discussion