gitlabhq/app/views/dashboard/issues.html.haml
Dmitriy Zaporozhets 75cf927d3b Issues & MR legend
2012-06-21 08:29:53 +03:00

28 lines
581 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
- 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