Sha256: fe6ce1d2143892edc75f8ddd1d5786958cf87f14b283a31287e8b78ca48e0c97

Contents?: true

Size: 1.12 KB

Versions: 5

Compression:

Stored size: 1.12 KB

Contents

<%= title "Listing Messages for #{@mailing.subject}" %>

<%= content_for :subnav do %>
<ul>
  <li><%= link_to 'Back', mail_manager.mailings_path %></li>
</ul>
<% end %>

    <%= will_paginate @messages %>
    <%= form_tag mail_manager.mailing_messages_path(@mailing), :id => 'search_form', :method => 'GET' do %>
      <%= label_tag :message_status, "Status:" %><%= select_tag "message[status]", options_for_select(@valid_statuses,params[:message][:status]), :onChange => "$('#search_form').submit()" %>
    <% end %>
    <% if @messages.length == 0 %>
      <h3>No messages found for your query.</h3>
    <% else %>
<table class="list" cellpadding="2" cellspacing="0" border="0">
  <tr class="title">
    <td>Contact</td>
    <!--
    <td>Status</td>
    <td>Status changed at</td>
    -->
    <td>Result</td>
  </tr>

<% @messages.each do |message| %>
  <tr class="<%= cycle('odd','even') %>">
    <td><%=h message.full_name %> <%=h message.email_address %></td>
    <!--
    <td><%=h message.status %></td>
    <td><%=h message.status_changed_at %></td>
    -->
    <td><%=h message.result %></td>
  </tr>
<% end %>
</table>
    <% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mail_manager-3.2.5 app/views/mail_manager/messages/index.html.erb
mail_manager-3.2.4 app/views/mail_manager/messages/index.html.erb
mail_manager-3.2.2 app/views/mail_manager/messages/index.html.erb
mail_manager-3.2.1 app/views/mail_manager/messages/index.html.erb
mail_manager-3.2.0 app/views/mail_manager/messages/index.html.erb