Sha256: 40a4097caca2078c2bdb4c780611cc17443037ab6a95b0444525e4928ed8b470

Contents?: true

Size: 1.05 KB

Versions: 25

Compression:

Stored size: 1.05 KB

Contents

<%= render 'backend/breadcrumbs' %>
<%= render 'filter' %>

<% 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

25 entries across 25 versions & 1 rubygems

Version Path
udongo-7.9.0 app/views/backend/emails/index.html.erb
udongo-7.8.1 app/views/backend/emails/index.html.erb
udongo-7.8.0 app/views/backend/emails/index.html.erb
udongo-7.7.2 app/views/backend/emails/index.html.erb
udongo-7.7.1 app/views/backend/emails/index.html.erb
udongo-7.7.0 app/views/backend/emails/index.html.erb
udongo-7.6.2 app/views/backend/emails/index.html.erb
udongo-7.6.1 app/views/backend/emails/index.html.erb
udongo-7.6.0 app/views/backend/emails/index.html.erb
udongo-7.5.1 app/views/backend/emails/index.html.erb
udongo-7.5.0 app/views/backend/emails/index.html.erb
udongo-7.4.2 app/views/backend/emails/index.html.erb
udongo-7.4.1 app/views/backend/emails/index.html.erb
udongo-7.4.0 app/views/backend/emails/index.html.erb
udongo-7.3.5 app/views/backend/emails/index.html.erb
udongo-7.3.4 app/views/backend/emails/index.html.erb
udongo-7.3.3 app/views/backend/emails/index.html.erb
udongo-7.3.2 app/views/backend/emails/index.html.erb
udongo-7.3.1 app/views/backend/emails/index.html.erb
udongo-7.2.1 app/views/backend/emails/index.html.erb