orbit-4-2/app/views/admin/mail_cron_logs/show.html.erb

31 lines
824 B
Plaintext
Raw Permalink Normal View History

2014-03-20 07:08:54 +00:00
<% content_for :side_bar do %>
<%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %>
<% end %>
<h3><%= t(:email_log) %></h3>
<ul>
<li>
<%= t(:mail_from_app) %>
<%= @mail_cron_log.mail_from_app %>
</li>
<li>
<%= t(:mail_user) %>
<%= @mail_cron_log.mail_user %>
</li>
<li>
<%= t(:sent_date) %>
<%= display_date_time(@mail_cron_log.created_at) %>
</li>
<li>
<%= t(:subject) %>
<%= @mail_cron_log.mail_subject %>
</li>
<li>
<%= t(:mail_to) %>
<p><%= @mail_cron_log.mail_to.gsub(/,/, "<br />").html_safe %></p>
</li>
</ul>
<%= link_to t(:close), '#', :class=>"btn", :onclick=>"window.close();" %>