<commit_before><% title _('Prometheus 2.0 - Maintainers') %>

<div id='main-content'>
  <table style='font-size: 10pt;' width='100%'>
    <tr>
      <th><%= _('Maintainers') %></th>
      <th><%= _('Teams') %></th>
    </tr>
    <tr>
      <td valign='top'>
        <% @maintainers.each do |maintainer| %>
          <div style='margin-bottom: 2px; text-align: left; border-bottom: 1px gray dotted; width: 95%; font-size: 9pt; height: 10pt;'>
            <div style='float: left;'>
              <%= link_to maintainer.name, maintainer_path(@branch, maintainer), :class => 'news' %>
              <%= link_to " (#{maintainer.login})", maintainer_path(@branch, maintainer), :style => 'text-decoration: none; color: black;' %>
            </div>
            <div style='float: right;'><%= $redis.smembers("#{@branch.name}:maintainers:#{maintainer.login}").count %></div>
          </div>
        <% end %>
      </td>
      <td valign='top'>
        <% @teams.each do |team| %>
          <div style='margin-bottom: 2px; text-align: left; border-bottom: 1px gray dotted; width: 95%; font-size: 9pt; height: 10pt;'>
            <div style='float: left;'>
              <%= link_to team.name, team_path(:id => team.login[1..-1], :branch => @branch.name), :class => 'news' %>
              <%= link_to " (#{team.login[1..-1]})", team_path(:id => team.login[1..-1], :branch => @branch.name), :style => 'text-decoration: none; color: black;' %>
            </div>
            <div style='float: right;'><%= $redis.smembers("#{@branch.name}:maintainers:#{team.login}").count %></div>
          </div>
        <% end %>
      </td>
    </tr>
  </table>
</div>

<div id='bottom-offset-l'>
  <div id='bottom-offset-r'>
    &nbsp;
  </div>
</div><commit_msg>Show maintainers and teams only if acl count > 0 for this branch<commit_after><% title _('Prometheus 2.0 - Maintainers') %>

<div id='main-content'>
  <table style='font-size: 10pt;' width='100%'>
    <tr>
      <th><%= _('Maintainers') %></th>
      <th><%= _('Teams') %></th>
    </tr>
    <tr>
      <td valign='top'>
        <% @maintainers.each do |maintainer| %>
          <% if $redis.smembers("#{@branch.name}:maintainers:#{maintainer.login}").count > 0 %>
          <div style='margin-bottom: 2px; text-align: left; border-bottom: 1px gray dotted; width: 95%; font-size: 9pt; height: 10pt;'>
            <div style='float: left;'>
              <%= link_to maintainer.name, maintainer_path(@branch, maintainer), :class => 'news' %>
              <%= link_to " (#{maintainer.login})", maintainer_path(@branch, maintainer), :style => 'text-decoration: none; color: black;' %>
            </div>
            <div style='float: right;'><%= $redis.smembers("#{@branch.name}:maintainers:#{maintainer.login}").count %></div>
          </div>
          <% end %>
        <% end %>
      </td>
      <td valign='top'>
        <% @teams.each do |team| %>
          <% if $redis.smembers("#{@branch.name}:maintainers:#{team.login}").count > 0 %>
          <div style='margin-bottom: 2px; text-align: left; border-bottom: 1px gray dotted; width: 95%; font-size: 9pt; height: 10pt;'>
            <div style='float: left;'>
              <%= link_to team.name, team_path(:id => team.login[1..-1], :branch => @branch.name), :class => 'news' %>
              <%= link_to " (#{team.login[1..-1]})", team_path(:id => team.login[1..-1], :branch => @branch.name), :style => 'text-decoration: none; color: black;' %>
            </div>
            <div style='float: right;'><%= $redis.smembers("#{@branch.name}:maintainers:#{team.login}").count %></div>
          </div>
          <% end %>
        <% end %>
      </td>
    </tr>
  </table>
</div>

<div id='bottom-offset-l'>
  <div id='bottom-offset-r'>
    &nbsp;
  </div>
</div>
{'fraction_non_alphanumeric': 0.2249667994687915, 'fraction_numerical': 0.015139442231075698, 'mean_word_length': 2.610738255033557, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 116, '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': '4215551', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1286, 'n_words': 274}