summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-01-31 14:41:25 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-01-31 14:41:25 +0000
commit3deb879ff25c2c85bae29e8e820e8cd135662b2b (patch)
tree05e3fdc47255ab8f64a61b0153f40c4fe4a3d000 /app/views/projects
parent86af3ed55e5a446d1d10168e890ab06d70fe6cbf (diff)
parentafaf6b7459130191c119ede514f060d090efcaf1 (diff)
downloadgitlab-ce-3deb879ff25c2c85bae29e8e820e8cd135662b2b.tar.gz
Merge branch 'fix/27479' into 'master'
Remove new branch button for confidential issues Closes #27479 See merge request !8894
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