Commit 25c37b0e authored by Stephan van Leeuwen's avatar Stephan van Leeuwen

Fixed issue not being able to create a new issue on an empty project.

parent b753bfd1
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
= link_to 'Create new label', new_project_label_path(issuable.project), target: :blank = link_to 'Create new label', new_project_label_path(issuable.project), target: :blank
.form-actions .form-actions
- if contribution_guide_url(issuable.project) && !issuable.persisted? - if !issuable.project.empty_repo? && contribution_guide_url(issuable.project) && !issuable.persisted?
%p %p
Please review the Please review the
%strong #{link_to 'guidelines for contribution', contribution_guide_url(issuable.project)} %strong #{link_to 'guidelines for contribution', contribution_guide_url(issuable.project)}
......
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