diff --git a/app/views/admin/e_paper_criterias/emailer.html.erb b/app/views/admin/e_paper_criterias/emailer.html.erb index 6c45408..2700a09 100644 --- a/app/views/admin/e_paper_criterias/emailer.html.erb +++ b/app/views/admin/e_paper_criterias/emailer.html.erb @@ -1,5 +1,6 @@ <% paper = @data["paper"] %> <% page = @data["page"] %> +<% siteurl = @data["siteurl"] %> @@ -159,8 +160,9 @@ <% paper.epaper_topics.desc(:created_at).each do |topic| %>
" target="_blank"><%= topic.title %> + "> <% t = strip_tags(topic.content) %> -

<%= t[0..100] %>

+ <%= topic.description %> " target="_blank">more
<% end %>