<commit_before><h4 class="lead">
  På Stortinget har <%= representative.name %> siden 2009 stemt
</h4>

<div class="row-fluid">
  <% [:for, :for_and_against, :against].each do |key| %>
    <div class="span4">

      <% if issue_groups[key].blank? %>
        <p><%= t 'app.issues.none' %>.</p>
      <% else %>
        <ul class="issue-list">
          <% issue_groups[key].each do |issue| %>
            <li>
              <%= link_to issue do %>
                <span class="issue-<%= key %>"><%= t "app.#{key}" %></span>
                <span class="issue-list-text">
                  <%= t 'app.lang.infinitive_particle' %>
                  <%= issue.downcased_title %>.
                </span>
              <% end %>
            </li>
          <% end %>
        </ul>
      <% end %>

    </div>
  <% end %>
</div><commit_msg>Only display 'issues.none' once if there are no issues in representatives/show.<commit_after><h4 class="lead">
  På Stortinget har <%= representative.name %> siden 2009 stemt
</h4>

<div class="row-fluid">
  <% if issue_groups.empty? %>
    <p><%= t 'app.issues.none' %>.</p>
  <% else %>
    <% [:for, :for_and_against, :against].each do |key| %>
      <div class="span4">

        <% if issue_groups[key].blank? %>
          <p><%= t 'app.issues.none' %>.</p>
        <% else %>
          <ul class="issue-list">
            <% issue_groups[key].each do |issue| %>
              <li>
                <%= link_to issue do %>
                  <span class="issue-<%= key %>"><%= t "app.#{key}" %></span>
                  <span class="issue-list-text">
                    <%= t 'app.lang.infinitive_particle' %>
                    <%= issue.downcased_title %>.
                  </span>
                <% end %>
              </li>
            <% end %>
          </ul>
        <% end %>

      </div>
    <% end %>
  <% end %>
</div>
{'fraction_non_alphanumeric': 0.1998931052912881, 'fraction_numerical': 0.0074826296098343134, 'mean_word_length': 1.5892116182572613, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '3865507', 'n_tokens_mistral': 689, 'n_tokens_neox': 588, 'n_words': 127}