2020-06-28 23:09:01 -04:00
|
|
|
- if Feature.enabled?(:vue_issuables_list, @project)
|
|
|
|
.js-issuables-list{ data: { endpoint: expose_url(api_v4_projects_issues_path(id: @project.id)),
|
|
|
|
'can-bulk-edit': @can_bulk_update.to_json,
|
|
|
|
'empty-svg-path': image_path('illustrations/issues.svg'),
|
|
|
|
'sort-key': @sort } }
|
|
|
|
- else
|
|
|
|
- empty_state_path = local_assigns.fetch(:empty_state_path, 'shared/empty_states/issues')
|
|
|
|
%ul.content-list.issues-list.issuable-list{ class: ("manual-ordering" if @sort == 'relative_position') }
|
|
|
|
= render partial: "projects/issues/issue", collection: @issues
|
|
|
|
- if @issues.blank?
|
|
|
|
= render empty_state_path
|
2017-09-06 14:44:59 -04:00
|
|
|
|
2020-06-28 23:09:01 -04:00
|
|
|
- if @issues.present?
|
|
|
|
= paginate @issues, theme: "gitlab", total_pages: @total_pages
|