Fixed issue not being able to create a new issue on an empty project.
This commit is contained in:
parent
b753bfd145
commit
25c37b0e73
|
@ -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)}
|
||||||
|
|
Loading…
Reference in New Issue