BigW Consortium Gitlab

_issues.html.haml 656 Bytes
Newer Older
Sean McGivern committed
1
- if @issues.reorder(nil).any?
2
  - @issues.group_by(&:project).each do |group|
3
    .panel.panel-default.panel-small
4
      - project = group[0]
5
      .panel-heading
6 7 8 9
        = link_to project.name_with_namespace, namespace_project_issues_path(project.namespace, project)
        - if can?(current_user, :create_issue, project)
          .pull-right
            = link_to 'New issue', new_namespace_project_issue_path(project.namespace, project)
10

11
      %ul.content-list.issues-list
12 13 14 15
        - group[1].each do |issue|
          = render 'projects/issues/issue', issue: issue
  = paginate @issues, theme: "gitlab"
- else
Dmitriy Zaporozhets committed
16
  .nothing-here-block No issues to show