<% content_for :message do %>
  <h2 class="heading">
    <%= t("mailer.general.greeting.introductory") %>
  </h2>

  <p><%= t(".introduction.html", open_doors_name_link: style_link(t(".html.open_doors_name"), "https://opendoors.transformativeworks.org"), app_short_name: ArchiveConfig.APP_SHORT_NAME, app_link: style_link(ArchiveConfig.APP_NAME, root_url)) %></p>

  <p><%= t(".more_info.html", ao3_news_link: style_link(t(".html.ao3_news"), "#{admin_posts_url}?tag=18"), faq_page_link: style_link(t(".html.faq_page"), "https://opendoors.transformativeworks.org/faq"), tutorial_page_link: style_link(t(".html.tutorial_page"), "https://opendoors.transformativeworks.org/tutorials"), contact_support_link: support_link(t(".html.contact_support"))) %></p>

  <p><%= t('.mistake.html', contact_open_doors_link: style_link(t('.html.contact_open_doors'), 'https://opendoors.transformativeworks.org/en/contact-open-doors/')) %></p>

  <p><%= t('.access.html', contact_support_link: support_link(t '.html.contact_support')) %></p>

  <p><%= style_link(t('.claim_or_remove.html'), claim_url(:invitation_token => @token)) %></p>

  <p><%= t '.uploaded_list' %></p>

  <ul>
  <% @external_author.works.each do |work| %>
    <li><%= style_link(work.title, work_url(work)) %>
      <%= (work.fandom_string.blank? ? "" : " (#{work.fandom_string})") %></li>
  <% end %>
  </ul>

  <p><%= t('.unwanted.html', contact_support_link: support_link(t '.html.contact_support')) %></p>

  <p><%= t '.redirects' %></p>

  <p><%= t('.update_redirect.html', contact_open_doors_link: style_link(t('.html.contact_open_doors'), 'https://opendoors.transformativeworks.org/en/contact-open-doors/')) %></p>

  <p><%= t('.other_works.html', contact_open_doors_link: style_link(t('.html.contact_open_doors'), 'https://opendoors.transformativeworks.org/en/contact-open-doors/')) %></p>

  <p><%= t('.questions.html', contact_support_link: support_link(t '.html.contact_support')) %></p>

  <p><%= t '.email_tips' %></p>

  <p><%= t("mailer.general.closing.informal") %><br/>
    <%= style_bold(t("mailer.general.signature.open_doors")) %><br/>
    <%= style_bold(t("mailer.general.signature.parent_org")) %></p>
<% end %>
