/ locals: indent, map, show_selection_controls, offering, learners
%div{:style => "padding-left: #{indent}px;"}
  - map.keys.sort_by{|container| container.position}.each do |container|
    %div{:id => dom_id_for(container)}
      %div
        %span{:style => 'font-weight: bold;'}= container.class.to_s
        - if show_selection_controls
          = selectAllNone(dom_id_for(container))
        &ndash;
        = "#{container.name}"
      - children = map[container]
      - if children.is_a? Array
        %div{:style => "padding-left: #{indent + 10}px;"}
          = render :partial => '/portal/reports/page_embeddables', :locals => { :page_embeddables => children, :show_selection_controls => show_selection_controls, :offering => offering, :learners => learners}
      - else
        = render :partial => '/portal/reports/container_heading', :locals => { :indent => indent + 10, :map => children, :show_selection_controls => show_selection_controls, :offering => offering, :learners => learners}

/ locals: indent, map, show_selection_controls, offering, learners
%div{:style => "padding-left: #{indent}px;"}
  - map.keys.sort_by{|container| container.position}.each do |container|
    %div{:id => dom_id_for(container)}
      %div
        %span{:style => 'font-weight: bold;'}= container.class.to_s
        - if show_selection_controls
          - if @activity_report_id == nil
            = selectAllNone(dom_id_for(container))
        &ndash;
        = "#{container.name}"
      - children = map[container]
      - if children.is_a? Array
        %div{:style => "padding-left: #{indent + 10}px;"}
          = render :partial => '/portal/reports/page_embeddables', :locals => { :page_embeddables => children, :show_selection_controls => show_selection_controls, :offering => offering, :learners => learners}
      - else
        = render :partial => '/portal/reports/container_heading', :locals => { :indent => indent + 10, :map => children, :show_selection_controls => show_selection_controls, :offering => offering, :learners => learners}

Hide All and None links for activity report
Hide All and None links for activity report

- Hide All and None links for activity level report
