Remove double new issue button on group issue dashboard empty state

This commit is contained in:
Clement Ho 2017-07-17 15:59:42 -05:00
parent 9c70d98eef
commit ebe989ca09

View file

@ -16,6 +16,7 @@
Also, issues are searchable and filterable. Also, issues are searchable and filterable.
- if project_select_button - if project_select_button
= render 'shared/new_project_item_select', path: 'issues/new', label: 'New issue' = render 'shared/new_project_item_select', path: 'issues/new', label: 'New issue'
- else
= link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link' = link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link'
- else - else
.text-center .text-center