2020-07-28 23:09:34 +05:30
|
|
|
- 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
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
- if @issues.present?
|
|
|
|
= paginate @issues, theme: "gitlab", total_pages: @total_pages
|