Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_issues.html.haml « issues « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c0383c57e63746c96319c7a675c6413f8c3525b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- 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

  - if @issues.present?
    = paginate @issues, theme: "gitlab", total_pages: @total_pages