Sha256: 4ec6e1233912f87eb756cfa3cd8caf37e3a495024ecee99910d89d176da0c5bf

Contents?: true

Size: 1.46 KB

Versions: 23

Compression:

Stored size: 1.46 KB

Contents

<%= content_for :html_head do %>
  <style type="text/css">
    div.field {
      margin: 10px 0;
    }
    div.field div.label {
      display: inline;
      font-weight: bold;
    }
    div.field div.value {
      display: inline;
    }
  </style>
<% end %>

<%= content_for :functions do %>
  <%= link_to span_tag("List All"), cms_email_messages_path, :class => "button" %>
<% end %>

<% @page_title = @toolbar_title = "Email Message '#{@message.subject}'" %>
<div class="field">
  <div class="label">Delivered At:</div> 
  <div class="value"><%= time_on_date(@message.delivered_at) %></div>
</div>
<% unless @message.content_type.blank? %>
  <div class="field">
    <div class="label">Content-Type:</div> 
    <div class="value"><%=h @message.content_type %></div>  
  </div>
<% end %>
<div class="field">
  <div class="label">From:</div> 
  <div class="value"><%=h @message.sender %></div>
</div>
<div class="field">
  <div class="label">To:</div> 
  <div class="value"><%=h @message.recipients %></div>
</div>
<% unless @message.cc.blank? %>
  <div class="field">
    <div class="label">CC:</div> 
    <div class="value"><%=h @message.cc %></div>
  </div>
<% end %>
<% unless @message.bcc.blank? %>
  <div class="field">
    <div class="label">BCC:</div> 
    <div class="value"><%=h @message.bcc %></div>
  </div>
<% end %>
<div class="field">
  <div class="label">Subject:</div> 
  <div class="value"><%=h @message.subject %></div>
</div>
<div class="field">
  <%=h @message.body %>
</div>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
browsercms-3.5.7 app/views/cms/email_messages/show.html.erb
browsercms-3.5.6 app/views/cms/email_messages/show.html.erb
browsercms-3.5.5 app/views/cms/email_messages/show.html.erb
browsercms-3.5.4 app/views/cms/email_messages/show.html.erb
browsercms-3.5.3 app/views/cms/email_messages/show.html.erb
browsercms-3.5.2 app/views/cms/email_messages/show.html.erb
browsercms-3.5.1 app/views/cms/email_messages/show.html.erb
browsercms-3.5.0 app/views/cms/email_messages/show.html.erb
browsercms-3.5.0.rc3 app/views/cms/email_messages/show.html.erb
browsercms-3.5.0.rc2 app/views/cms/email_messages/show.html.erb
browsercms-3.5.0.rc1 app/views/cms/email_messages/show.html.erb
browsercms-3.4.2 app/views/cms/email_messages/show.html.erb
browsercms-3.3.4 app/views/cms/email_messages/show.html.erb
browsercms-3.4.2.rc1 app/views/cms/email_messages/show.html.erb
browsercms-3.4.1 app/views/cms/email_messages/show.html.erb
browsercms-3.4.0 app/views/cms/email_messages/show.html.erb
browsercms-3.4.0.rc2 app/views/cms/email_messages/show.html.erb
browsercms-3.4.0.rc1 app/views/cms/email_messages/show.html.erb
browsercms-3.3.3 app/views/cms/email_messages/show.html.erb
browsercms-3.3.2 app/views/cms/email_messages/show.html.erb