gitlabhq/app/views/dashboard/issues.html.haml
2012-06-26 23:34:23 +03:00

28 lines
594 B
Plaintext

%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.issues_table
- 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