<commit_before><%= render  :partial => "/shared/object_view_header", 
            :locals => {:view => nil, :object => @group} %>


<table class="table table-striped overview">
  <caption> <%= t(:overview) + " for #{@year.year}"%> </caption>
  <tbody>
    <tr>
      <td>
        <div class="overview-label">
          <%= t(:products) %>
        </div>
        <%= @products.length %> 
      </td>
      <td>
        <div class="overview-label">
          <%= t(:product) + t(:allocation) %>
        </div>
        <%= "#{@total_product_allocation} " + t(:fte) %>
      </td>
    </tr>
    <tr>
      <td>
        <div class="overview-label">
          <%= t(:employee_headcount) %>
        </div>
        <%= @employees.length %> 
      </td>
      <td>
        <div class="overview-label">
          <%= t(:employee) + t(:allocation) %>
        </div>
        <%= "#{@total_service_allocation} " + t(:fte) %>
      </td>
    </tr>
    <tr>
      <td>
        <div class="overview-label">
          <%= t(:services) %>
        </div>
        <%= @services.length %>
      </td>
      <td>
        <div class="overview-label">
          <%= t(:portfolios) %>
        </div>
        <%= @portfolios.length %>
      </td>
    </tr>
  </tbody>
</table>




<ul class="nav nav-tabs" id="my-tab" style="clear:both;">
  <li class="active">
    <a href="#products" id="products_tab" data-toggle="tab" > 
      <%= t(:products) %>
    </a>
  </li>
  <li class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#"> 
      <%= t(:portfolios) %>
      <b class="caret"></b>
    </a>
    <ul class="dropdown-menu">
      <% @portfolios.each_with_index do |portfolio, index| %>
        <li>
          <a href="#portfolio-<%= index %>" id="portfolio-tab-<%= index %>" data-toggle="tab"> 
            <%= portfolio.name %> 
          </a>
        </li>
      <% end %>
    </ul>
  </li>
  <li>
     <a href="#employees" id="employees_tab" data-toggle="tab" > 
       <%= t(:employees) %>
     </a>
   </li>
  <li>
    <a href="#services" id="services_tab" data-toggle="tab"> 
      <%= t(:services) %><commit_msg>Fix empty dropdowns appearing on group show viewxsx<commit_after><%= render  :partial => "/shared/object_view_header", 
            :locals => {:view => nil, :object => @group} %>


<table class="table table-striped overview">
  <caption> <%= t(:overview) + " for #{@year.year}"%> </caption>
  <tbody>
    <tr>
      <td>
        <div class="overview-label">
          <%= t(:products) %>
        </div>
        <%= @products.length %> 
      </td>
      <td>
        <div class="overview-label">
          <%= t(:product) + t(:allocation) %>
        </div>
        <%= "#{@total_product_allocation} " + t(:fte) %>
      </td>
    </tr>
    <tr>
      <td>
        <div class="overview-label">
          <%= t(:employee_headcount) %>
        </div>
        <%= @employees.length %> 
      </td>
      <td>
        <div class="overview-label">
          <%= t(:employee) + t(:allocation) %>
        </div>
        <%= "#{@total_service_allocation} " + t(:fte) %>
      </td>
    </tr>
    <tr>
      <td>
        <div class="overview-label">
          <%= t(:services) %>
        </div>
        <%= @services.length %>
      </td>
      <td>
        <div class="overview-label">
          <%= t(:portfolios) %>
        </div>
        <%= @portfolios.length %>
      </td>
    </tr>
  </tbody>
</table>




<ul class="nav nav-tabs" id="my-tab" style="clear:both;">
  <li class="active">
    <a href="#products" id="products_tab" data-toggle="tab" > 
      <%= t(:products) %>
    </a>
  </li>
  <% unless @portfolios.blank? %>
    <li class="dropdown">
      <a class="dropdown-toggle" data-toggle="dropdown" href="#"> 
        <%= t(:portfolios) %>
        <b class="caret"></b>
      </a>
      <ul class="dropdown-menu">
        <% @portfolios.each_with_index do |portfolio, index| %>
          <li>
            <a href="#portfolio-<%= index %>" id="portfolio-tab-<%= index %>" data-toggle="tab"> 
              <%= portfolio.name %> 
            </a>
          </li>
        <% end %>
      </ul>
    </li>
  <% end %>
  <li>
     <a href="#employees" id="employees_tab" data-toggle="tab" > 
       <%= t(:employees) %>
     </a>
   </li>
  <li>
    <a href="#services" id="services_tab" data-toggle="tab"> 
      <%= t(:services) %>
{'fraction_non_alphanumeric': 0.22245179063360881, 'fraction_numerical': 0.0, 'mean_word_length': 1.9280913978494623, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 177, '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': '3371924', 'n_tokens_mistral': 1640, 'n_tokens_neox': 1489, 'n_words': 270}