summaryrefslogtreecommitdiff
path: root/app/views/dashboard/issues.html.haml
blob: b6bcdf8d8fb7a83a27282701e209ae02a0f79ea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
%h3
  Issues
  %small (assigned to you)
  %small.right #{@issues.total_count} issues

%br
.issues_legend
  .list_legend
    .icon.critical
    .text Critical

  .list_legend
    .icon.today
    .text Today
.clearfix
- if @issues.any?
  - @issues.group_by(&:project).each do |group|
    %div.ui-box
      - project = group[0]
      %h5= project.name
      %ul.unstyled
        - group[1].each do |issue|
          = render(:partial => 'issues/show', :locals => {:issue => issue})
  %hr
  = paginate @issues, :theme => "gitlab"
- else
  %h3.nothing_here_message Nothing to show here