<commit_before>-cycles = Cycle.joins(:directive => :program_directives).where(:program_directives => { :program_id => program.id }).order('start_at DESC')

-content_for :widget_title do
  %i.grcicon-audit-white
  Audit Cycles
  %span=cycles.count

-content_for :widget_help, 'program_cycles'

-content_for :widget_id, "audit_cycles_widget"

-content_for :widget_buttons do
  -if has_feature? :BETA
    .filter
      .row-fluid
        .span12
          .pull-right
            %a.btn{ :href => '/design/audit-manager' }
              Audit Manager

%ul.tree-structure.simple
  -cycles.each do |cycle|
    %li
      .item-main
        .item-title
          .row-fluid
            .span9
              %a.custom-popover-trigger{:href => flow_cycle_path(cycle), :'data-popover-href' => tooltip_flow_cycle_path(cycle), :'data-popover-trigger' => 'sticky-hover'}
                .oneline
                  %span.title
                    -if cycle.complete
                      %span.completed
                        =cycle.title
                    -else
                      =cycle.title
                  %span.additional-info
                    -if cycle.complete
                      %span.completed
                        completed
                    -else
                      -if cycle.start_at == Time.zone.now.to_date
                        today
                      -elsif cycle.start_at < Time.zone.now.to_date
                        #{days_ago_in_words cycle.start_at} ago
                      -else
                        starting in: #{days_ago_in_words cycle.start_at}
                      -if cycle.end_at
                        &nbsp;&nbsp;&nbsp;
                        ends on: #{cycle.end_at.strftime("%m/%d/%y")}
              .objects-count
                %a{:href => '#'}
                  %i.grcicon-control-black
                  =cycle.ca_request_stats[0]
<commit_msg>Don't show control icon in audit cycle list [story:45207973]<commit_after>-cycles = Cycle.joins(:directive => :program_directives).where(:program_directives => { :program_id => program.id }).order('start_at DESC')

-content_for :widget_title do
  %i.grcicon-audit-white
  Audit Cycles
  %span=cycles.count

-content_for :widget_help, 'program_cycles'

-content_for :widget_id, "audit_cycles_widget"

-content_for :widget_buttons do
  -if has_feature? :BETA
    .filter
      .row-fluid
        .span12
          .pull-right
            %a.btn{ :href => '/design/audit-manager' }
              Audit Manager

%ul.tree-structure.simple
  -cycles.each do |cycle|
    %li
      .item-main
        .item-title
          .row-fluid
            .span9
              %a.custom-popover-trigger{:href => flow_cycle_path(cycle), :'data-popover-href' => tooltip_flow_cycle_path(cycle), :'data-popover-trigger' => 'sticky-hover'}
                .oneline
                  %span.title
                    -if cycle.complete
                      %span.completed
                        =cycle.title
                    -else
                      =cycle.title
                  %span.additional-info
                    -if cycle.complete
                      %span.completed
                        completed
                    -else
                      -if cycle.start_at == Time.zone.now.to_date
                        today
                      -elsif cycle.start_at < Time.zone.now.to_date
                        #{days_ago_in_words cycle.start_at} ago
                      -else
                        starting in: #{days_ago_in_words cycle.start_at}
                      -if cycle.end_at
                        &nbsp;&nbsp;&nbsp;
                        ends on: #{cycle.end_at.strftime("%m/%d/%y")}
              .objects-count

{'fraction_non_alphanumeric': 0.10555852485301978, 'fraction_numerical': 0.004008551576696953, 'mean_word_length': 1.3306351183063512, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6596855', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1040, 'n_words': 183}