gitlabhq/app/views/dashboard/issues.html.haml
2012-11-28 11:00:02 -05:00

24 lines
612 B
Plaintext

%h3.page_title
Issues
%small (assigned to you)
%small.right #{@issues.total_count} issues
%hr
.row
.span3
= render 'filter', entity: 'issue'
.span9
- if @issues.any?
- @issues.group_by(&:project).each do |group|
%div.ui-box
- @project = group[0]
%h5= link_to(@project.name, project_path(@project))
%ul.unstyled.issues_table
- group[1].each do |issue|
= render(partial: 'issues/show', locals: {issue: issue})
%hr
= paginate @issues, theme: "gitlab"
- else
%p.nothing_here_message Nothing to show here