Sha256: b4ad4faf1d8005831ea5f506e76693849e8e20c38a9a9191288d80000b03e590

Contents?: true

Size: 943 Bytes

Versions: 11

Compression:

Stored size: 943 Bytes

Contents

<% use_page_title "Email Messages" %>
<%= render layout: 'page_title' do
end %>

<%= render layout: 'main_content' do %>
    <table class="data table table-striped table-bordered table-hover">
      <thead>
      <tr>
        <th>To</th>
        <th>Subject</th>
        <th>Delivered</th>
      </tr>
      </thead>
      <tbody>
      <% @messages.each do |message| %>
          <tr>
            <td><%= link_to truncate(message.recipients), message %>
            </td>
            <td>
              <%= message.subject %>
            </td>
            <td style="white-space: nowrap"><%= h time_on_date(message.delivered_at) %></td>
          </tr>
      <% end %>
      <% if @messages.empty? %>
          <tr>
            <td colspan="3">No email messages.</td>
          </tr>
      <% end %>
      </tbody>
    </table>

<% end %>
<% if @messages.total_pages > 1 %>
    <%= render_pagination @messages, Cms::EmailMessage %>
<% end %>

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/views/cms/email_messages/index.html.erb
browsercms-artirix-4.0.3.3 app/views/cms/email_messages/index.html.erb
browsercms-artirix-4.0.3.2 app/views/cms/email_messages/index.html.erb
browsercms-artirix-4.0.3.1 app/views/cms/email_messages/index.html.erb
browsercms-artirix-4.0.3 app/views/cms/email_messages/index.html.erb
browsercms-artirix-4.0.2 app/views/cms/email_messages/index.html.erb
browsercms-artirix-4.0.1.1 app/views/cms/email_messages/index.html.erb
browsercms-artirix-4.0.0.rc1.art4 app/views/cms/email_messages/index.html.erb
browsercms-4.0.0.rc1 app/views/cms/email_messages/index.html.erb
browsercms-4.0.0.beta app/views/cms/email_messages/index.html.erb
browsercms-4.0.0.alpha app/views/cms/email_messages/index.html.erb