<commit_before><h2><%= t("Mail Server Settings") %></h2>

<div id="mail_settings">
  <%# TODO: move this code to a helper? %>
  <div id="mail_delivery_status" class="error-or-notice">
    <%= 
      if Spree::Config[:enable_mail_delivery]
        content_tag(:h4, t("Mail delivery is enabled"))
      else
        content_tag(:h4, t("Mail delivery is not enabled"))
      end
    %>
  </div>
  <div>
    <strong><%= t("SMTP domain") %>:</strong> <%=  Spree::Config[:mail_domain] %>
  </div>
  <div>
    <strong><%= t('SMTP Mail Host') %>:</strong> <%= Spree::Config[:mail_host] %>
  </div>
  <div>
    <strong><%= t('SMTP Port') %>:</strong> <%= Spree::Config[:mail_port] %>
  </div>
  <div>
    <strong><%= t('Secure Connection Type')  %>:</strong> <%= Spree::Config[:secure_connection_type] %>
  </div>
  <div>
    <strong><%= t('SMTP Authentication Type') %>:</strong> <%= Spree::Config[:mail_auth_type] %>
  </div>
  <% unless Spree::Config[:mail_auth_type] == "none" -%>
  <div>
    <strong><%= t('SMTP Username') %>:</strong> <%= Spree::Config[:smtp_username] %>
  </div>
  <div>
    <strong><%= t('SMTP Password') %>:</strong><em> <%= t("Not shown") unless Spree::Config[:smtp_password].blank? -%></em>
  </div>
  <% end -%>
  <div>
    <strong><%= t('Copy all mails to') %>:</strong><br />
    <%= t('A copy of all mail will be sent to the following addresses') %>
    <div class="">
      <%= Spree::Config[:mail_copy_to] %>
    </div>
  </div>
  <%= link_to t("Edit"), edit_admin_mail_settings_path %>
</div>

<%= debug(Spree::Config[]) %><commit_msg>Removing debug code in mail_settings/show view<commit_after><h2><%= t("Mail Server Settings") %></h2>

<div id="mail_settings">
  <%# TODO: move this code to a helper? %>
  <div id="mail_delivery_status" class="error-or-notice">
    <%= 
      if Spree::Config[:enable_mail_delivery]
        content_tag(:h4, t("Mail delivery is enabled"))
      else
        content_tag(:h4, t("Mail delivery is not enabled"))
      end
    %>
  </div>
  <div>
    <strong><%= t("SMTP domain") %>:</strong> <%=  Spree::Config[:mail_domain] %>
  </div>
  <div>
    <strong><%= t('SMTP Mail Host') %>:</strong> <%= Spree::Config[:mail_host] %>
  </div>
  <div>
    <strong><%= t('SMTP Port') %>:</strong> <%= Spree::Config[:mail_port] %>
  </div>
  <div>
    <strong><%= t('Secure Connection Type')  %>:</strong> <%= Spree::Config[:secure_connection_type] %>
  </div>
  <div>
    <strong><%= t('SMTP Authentication Type') %>:</strong> <%= Spree::Config[:mail_auth_type] %>
  </div>
  <% unless Spree::Config[:mail_auth_type] == "none" -%>
  <div>
    <strong><%= t('SMTP Username') %>:</strong> <%= Spree::Config[:smtp_username] %>
  </div>
  <div>
    <strong><%= t('SMTP Password') %>:</strong><em> <%= t("Not shown") unless Spree::Config[:smtp_password].blank? -%></em>
  </div>
  <% end -%>
  <div>
    <strong><%= t('Copy all mails to') %>:</strong><br />
    <%= t('A copy of all mail will be sent to the following addresses') %>
    <div class="">
      <%= Spree::Config[:mail_copy_to] %>
    </div>
  </div>
  <%= link_to t("Edit"), edit_admin_mail_settings_path %>
</div>
{'fraction_non_alphanumeric': 0.24199743918053776, 'fraction_numerical': 0.002560819462227913, 'mean_word_length': 3.8449612403100777, 'pattern_counts': {'":': 0, '<': 136, '<?xml version=': 0, '>': 136, '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': '3095720', 'n_tokens_mistral': 1234, 'n_tokens_neox': 1128, 'n_words': 248}