<commit_before><div id="followup">
  <% if (incoming_message.nil? || !incoming_message.valid_to_reply_to?)
    # TRANSLATORS: This phrase completes the following sentences:
    # Request an internal review from...
    # Send a public follow up message to...
    # Send a public reply to...
    # Don't want to address your message to... ?
    name_for_followup = _("the main FOI contact at {{public_body}}", :public_body => h(OutgoingMailer.name_for_followup(@info_request, nil))) %>
  <% else %>
    <% name_for_followup = h(OutgoingMailer.name_for_followup(@info_request, incoming_message)) %>
  <% end %>

  <% if @internal_review %>
    <h1><%= _('Request an internal review from {{person_or_body}}',
           :person_or_body => name_for_followup) %></h1>
  <% elsif incoming_message.nil? || !incoming_message.valid_to_reply_to? %>
    <h2><%= _('Send a public follow up message to {{person_or_body}}',
            :person_or_body => name_for_followup) %>
    </h2>
  <% else %>
    <h2><%= _('Send a public reply to {{person_or_body}}',
            :person_or_body => name_for_followup) %>
    </h2>
  <% end %>

  <% if @info_request.who_can_followup_to(incoming_message).count > 0 %>
    <div id="other_recipients" class="box">
      <%= _("Don't want to address your message to {{person_or_body}}?  You can also write to:", :person_or_body => name_for_followup) %>

      <ul>
        <% @info_request.who_can_followup_to(incoming_message).each do |name, email, id|  %>
          <% if id.nil? && !incoming_message.nil? && incoming_message.valid_to_reply_to? %>
            <li><%= link_to(_("the main FOI contact address for {{public_body}}", :public_body => name), show_response_no_followup_path(:id => @info_request.id, :incoming_message_id => nil)) %></li>
          <% else %>
            <% if !id.nil? %>
              <% if @info_request.public_body.request_email == email %>
                <% if !incoming_message.nil? %>
                  <li><%= link_to(_("the main FOI contact address for {{public_body}}", :public_body => name), show_response_no_followup_path(:id => @info_request.id, :incoming_message_id => nil)) %></li>
                <% end %>
              <% else %>
                <li><%= link_to name, show_response_path(:id => @info_request.id, :incoming_message_id => id)%></li>
              <% end %>
            <% else %>
              <li><%= link_to(_("the main FOI contact address for {{public_body}}", :public_body => name), show_response_no_followup_path(:id => @info_request.id, :incoming_message_id => nil)) %></li>
            <% end %>
          <% end %><commit_msg>added classes to app/views/request/_followup.html.erb<commit_after><div id="followup" class="followup">
  <% if (incoming_message.nil? || !incoming_message.valid_to_reply_to?)
    # TRANSLATORS: This phrase completes the following sentences:
    # Request an internal review from...
    # Send a public follow up message to...
    # Send a public reply to...
    # Don't want to address your message to... ?
    name_for_followup = _("the main FOI contact at {{public_body}}", :public_body => h(OutgoingMailer.name_for_followup(@info_request, nil))) %>
  <% else %>
    <% name_for_followup = h(OutgoingMailer.name_for_followup(@info_request, incoming_message)) %>
  <% end %>

  <% if @internal_review %>
    <h1><%= _('Request an internal review from {{person_or_body}}',
           :person_or_body => name_for_followup) %></h1>
  <% elsif incoming_message.nil? || !incoming_message.valid_to_reply_to? %>
    <h2><%= _('Send a public follow up message to {{person_or_body}}',
            :person_or_body => name_for_followup) %>
    </h2>
  <% else %>
    <h2><%= _('Send a public reply to {{person_or_body}}',
            :person_or_body => name_for_followup) %>
    </h2>
  <% end %>

  <% if @info_request.who_can_followup_to(incoming_message).count > 0 %>
    <div id="other_recipients" class="box other_recipients">
      <%= _("Don't want to address your message to {{person_or_body}}?  You can also write to:", :person_or_body => name_for_followup) %>

      <ul>
        <% @info_request.who_can_followup_to(incoming_message).each do |name, email, id|  %>
          <% if id.nil? && !incoming_message.nil? && incoming_message.valid_to_reply_to? %>
            <li><%= link_to(_("the main FOI contact address for {{public_body}}", :public_body => name), show_response_no_followup_path(:id => @info_request.id, :incoming_message_id => nil)) %></li>
          <% else %>
            <% if !id.nil? %>
              <% if @info_request.public_body.request_email == email %>
                <% if !incoming_message.nil? %>
                  <li><%= link_to(_("the main FOI contact address for {{public_body}}", :public_body => name), show_response_no_followup_path(:id => @info_request.id, :incoming_message_id => nil)) %></li>
                <% end %>
              <% else %>
                <li><%= link_to name, show_response_path(:id => @info_request.id, :incoming_message_id => id)%></li>
              <% end %>
            <% else %>
              <li><%= link_to(_("the main FOI contact address for {{public_body}}", :public_body => name), show_response_no_followup_path(:id => @info_request.id, :incoming_message_id => nil)) %></li>
            <% end %>
          <% end %>
{'fraction_non_alphanumeric': 0.1601960045231813, 'fraction_numerical': 0.002638522427440633, 'mean_word_length': 3.175452399685287, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 129, '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': '1540988', 'n_tokens_mistral': 1833, 'n_tokens_neox': 1704, 'n_words': 379}