%h3
  Issues
  %small (assigned to you)
  %small.right #{@issues.total_count} issues

%br
- 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
  %h4.padded
    %center Nothing to show here
