Sha256: c73eaf23286b2ea6784df1722ddab2be794e611f7e5b5f947dda91d70105f92d

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

<p>Hi <%= @recipient.friendly_name %>,</p>

<p>This a summary of what happened yesterday on the <%= Setting.first.try(:site_name) %> website.</p>

<% unless @pending_comments.blank?  %>
  <h2><%= t 'comments.digest_intro' %></h2>
  <ul>
    <% @pending_comments.each do |comment| %>
      <li><%= "from #{comment.author.name}: #{truncate(strip_tags(comment.body), length: 50)}" %></li>
    <% end %>
  </ul>
  <p>You can see and manage these comments at: <%= link_to 'pending comments', pending_comments_url %>.</p>
<% end %>

<% unless @contact_messages.blank?  %>
  <h2>List of messages from the contact form:</h2>
  <ul>
    <% @contact_messages.each do |message| %>
      <li><%= "from #{message.sender_name} (#{message.sender_email}): #{truncate(strip_tags(message.body), length: 50)}" %></li>
    <% end %>
  </ul>
  <p>You can see and manage these messages at: <%= link_to 'contact messages', contacts_url %>.</p>
<% end %>

<p>You are receiving this email because you are an administrator of the <%= Setting.first.try(:site_name) %> website.</p>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tkh_mailing_list-0.11.3 app/views/administration_mailer/daily_digest.html.erb
tkh_mailing_list-0.11.2 app/views/administration_mailer/daily_digest.html.erb