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

28 lines
750 B
Plaintext
Raw 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_queue) %></h3>
<ul>
<li>
<%= t(:mail_from_app) %>
<%= @mail_cron.mail_from_app %>
</li>
<li>
<%= t(:sent_date) %>
<%= display_date_time(@mail_cron.created_at) %>
</li>
<li>
<%= t(:subject) %>
<%= @mail_cron.mail_subject %>
</li>
<li>
<%= t(:mail_to) %>
<p><%= @mail_cron.mail_to.gsub(/,/, "<br />").html_safe %></p>
</li>
</ul>
<%= link_to t(:close), 'javascript:void(0);', :class=>"btn", :onclick=>"window.close();" %>