debian-mirror-gitlab/app/views/projects/issues/_issues.html.haml
2018-03-17 18:26:18 +05:30

9 lines
339 B
Text

- empty_state_path = local_assigns.fetch(:empty_state_path, 'shared/empty_states/issues')
%ul.content-list.issues-list.issuable-list
= 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