%div{class: "box box-shadow"}
  %h2{class: "box-header"} Infos

  %p Empty Projects:
  - empties = @staging_projects.select { |p| p.overall_state == :empty }
  - empties = empties.map { |p| link_to(p.letter, main_app.project_show_path(p.name)) }

  %p
    - if empties.empty?
      none
    - else
      = empties.sort.join(' &ndash; ').html_safe


  %p Backlog:
  - if @backlog_requests.empty?
    %p 
      %i Empty
  - else
    %ul{class: "staging_backlog"}
      - counter = 0
      - @backlog_requests.each do |req|
        %li
          = link_to elide(req.package, length = 19), main_app.request_show_path(req.id)
        - counter += 1
        - if counter > 5 && @backlog_requests.size > counter + 1
          %li ... #{@backlog_requests.size - counter} more
          - break

%div{class: "box box-shadow"}
  %h2{class: "box-header"} Infos

  %p Empty Projects:
  - empties = @staging_projects.select { |p| p.overall_state == :empty }
  - empties = empties.map { |p| link_to(p.letter, main_app.project_show_path(p.name)) }

  %p
    - if empties.empty?
      none
    - else
      = empties.sort.join(' &ndash; ').html_safe


  %p Backlog:
  - if @backlog_requests.empty?
    %p 
      %i Empty
  - else
    %ul{class: "staging_backlog"}
      - counter = 0
      - @backlog_requests.each do |req|
        %li
          = link_to elide(req.package, length = 19), main_app.request_show_path(req.number)
        - counter += 1
        - if counter > 5 && @backlog_requests.size > counter + 1
          %li ... #{@backlog_requests.size - counter} more
          - break

Fix for request id->number change in _infos
Fix for request id->number change in _infos
