Sha256: 4fa430391953974a6d76974f7483d68aa80536af4afc96e8c8e6132574e73acd

Contents?: true

Size: 1.03 KB

Versions: 21

Compression:

Stored size: 1.03 KB

Contents

<%= render 'backend/breadcrumbs' %>

<% if @emails.any? %>
  <table class="table table-striped table-hover">
    <thead class="thead-inverse">
      <tr>
        <th><%= t 'b.from' %></th>
        <th><%= t 'b.to' %></th>
        <th><%= t 'b.subject' %></th>
        <th><%= t 'b.locale' %></th>
        <th><%= t 'b.sent_at' %></th>
        <th>&nbsp;</th>
      </tr>
    </thead>

    <tbody>
      <% @emails.each do |e| %>
        <tr>
          <td><%= mail_to e.from_email, e.from_name %></td>
          <td><%= mail_to e.to_email, e.to_name %></td>
          <td><%= e.subject %></td>
          <td><%= e.locale %></td>
          <td>
            <% if e.sent_at %>
              <%= l e.sent_at %>
            <% else %>
              <%= t 'b.not_yet_sent' %>
            <% end %>
          </td>
          <td class="text-right">
            <%= link_to_show [:backend, e] %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>

  <%= udongo_paginate @emails %>

<% else %>
  <p><%= t 'b.msg.no_items' %></p>
<% end %>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
udongo-7.0.4 app/views/backend/emails/index.html.erb
udongo-7.0.3 app/views/backend/emails/index.html.erb
udongo-7.0.2 app/views/backend/emails/index.html.erb
udongo-7.0.1 app/views/backend/emails/index.html.erb
udongo-7.0.0 app/views/backend/emails/index.html.erb
udongo-6.6.3 app/views/backend/emails/index.html.erb
udongo-6.6.2 app/views/backend/emails/index.html.erb
udongo-6.6.1 app/views/backend/emails/index.html.erb
udongo-6.6.0 app/views/backend/emails/index.html.erb
udongo-6.5.2 app/views/backend/emails/index.html.erb
udongo-6.5.1 app/views/backend/emails/index.html.erb
udongo-6.5.0 app/views/backend/emails/index.html.erb
udongo-6.4.1 app/views/backend/emails/index.html.erb
udongo-6.4.0 app/views/backend/emails/index.html.erb
udongo-6.3.2 app/views/backend/emails/index.html.erb
udongo-6.3.1 app/views/backend/emails/index.html.erb
udongo-6.3.0 app/views/backend/emails/index.html.erb
udongo-6.2.1 app/views/backend/emails/index.html.erb
udongo-6.2.0 app/views/backend/emails/index.html.erb
udongo-6.1.0 app/views/backend/emails/index.html.erb