<!DOCTYPE html>
<html>
  <head>
    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
  </head>
  <body <%= 'dir=rtl' if %w(ar dv he iw fa nqo ps sd ug ur yi).include?(@topic.locale) %>>
  <p>
    <%= t('above_this_line', default: "Make sure your reply appears above this line") %><br/>
    =================================================================<br/>
    <%= t('message_id', default: 'Message ID') %>:<%= @topic.id %></br>
  </p>
  <p>
    <%= t('hello', user_name: @topic.user.login) %>,
  </p>
  <p>
    <%= t('message_response', default: 'The following message has been posted in response to your question:') %>
  </p>
  <p>
    <%= simple_format(@topic.posts.last.body) %>
  </p>
  <p>
    <%= t('view_online', default: 'View this online:') %> <%= ticket_url(@topic, host: AppSettings['settings.site_url']) %>
  </p><br/>
    <p>
    <strong>Powered by Helpy</strong><br/>
    Get a Free Helpy Support System for your Site at http://helpy.io/
  </p>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />

    <script>
    .list-inline {
    	padding-left: 0;
    	list-style: none;
    }
    </script>

  </head>
  <body <%= 'dir=rtl' if %w(ar dv he iw fa nqo ps sd ug ur yi).include?(@topic.locale) %>>
  <p>
    <%= t('above_this_line', default: "Make sure your reply appears above this line") %><br/>
    =================================================================<br/>
    <%= t('message_id', default: 'Message ID') %>:<%= @topic.id %></br>
  </p>
  <p>
    <%= t('hello', user_name: @topic.user.login) %>,
  </p>
  <p>
    <%= t('message_response', default: 'The following message has been posted in response to your question:') %>
  </p>
  <p>
    <%= simple_format(@topic.posts.last.body) %>
  </p>
  <%= render :partial => 'posts/thumbnail', locals: { :model_name => @topic.posts.last } unless Cloudinary.config.cloud_name.nil? %>
  <p>
    <%= t('view_online', default: 'View this online:') %> <%= ticket_url(@topic, host: AppSettings['settings.site_url']) %>
  </p>
  <br/>
  <p>
    <strong>Powered by Helpy</strong><br/>
    Get a Free Helpy Support System for your Site at http://helpy.io/
  </p>
  </body>
</html>

Add attachments to topic email
Add attachments to topic email
