BigW Consortium Gitlab

_issues.html.haml 640 Bytes
Newer Older
1 2
- if @issues.any?
  - @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 12 13 14 15

      %ul.well-list.issues-list
        - 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