gitlab-org--gitlab-foss/app/views/dashboard/issues.html.haml
2013-07-13 20:36:21 +03:00

29 lines
744 B
Text

%h3.page-title
Issues
%span.light
–
Assigned to you
%span.pull-right #{@issues.total_count} issues
.row
.span3
= render 'filter', entity: 'issue'
.span9
- if @issues.any?
- @issues.group_by(&:project).each do |group|
%div.ui-box
- project = group[0]
.title
= link_to_project project
 
%i.icon-angle-right
 
= link_to 'issues', project_issues_path(project)
%ul.well-list.issues-list
- group[1].each do |issue|
= render 'projects/issues/issue', issue: issue
%hr
= paginate @issues, theme: "gitlab"
- else
%p.nothing_here_message Nothing to show here