2017-09-06 14:44:59 -04:00
|
|
|
- empty_state_path = local_assigns.fetch(:empty_state_path, 'shared/empty_states/issues')
|
|
|
|
|
2016-09-07 10:45:31 -04:00
|
|
|
%ul.content-list.issues-list.issuable-list
|
2016-09-16 15:15:39 -04:00
|
|
|
= render partial: "projects/issues/issue", collection: @issues
|
2015-09-04 09:22:33 -04:00
|
|
|
- if @issues.blank?
|
2017-09-06 14:44:59 -04:00
|
|
|
= render empty_state_path
|
2012-03-21 18:09:56 -04:00
|
|
|
|
2012-03-21 18:09:57 -04:00
|
|
|
- if @issues.present?
|
2017-08-24 12:17:04 -04:00
|
|
|
= paginate @issues, theme: "gitlab", total_pages: @total_pages
|