Sha256: 1f456ccb14d22299d9632577202b2ad0f7e6c18d5975b3c49884778d1ebb43aa

Contents?: true

Size: 1.08 KB

Versions: 6

Compression:

Stored size: 1.08 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 %>
      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

6 entries across 6 versions & 1 rubygems

Version Path
mail_manager-3.0.0 app/views/mail_manager/messages/index.html.erb
mail_manager-0.1.4 app/views/mail_manager/messages/index.html.erb
mail_manager-0.1.2 app/views/mail_manager/messages/index.html.erb
mail_manager-0.1.1 app/views/mail_manager/messages/index.html.erb
mail_manager-0.1.0 app/views/mail_manager/messages/index.html.erb
mail_manager-0.0.1 app/views/mail_manager/messages/index.html.erb