Hide the checkbox to make an issue confidential on private projects

parent 6e129d02
......@@ -31,7 +31,7 @@
.clearfix
.error-alert
- if issuable.is_a?(Issue)
- if issuable.is_a?(Issue) && !issuable.project.private?
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment