app/views/mail_manager/mailings/index.html.erb in mail_manager-3.2.5 vs app/views/mail_manager/mailings/index.html.erb in mail_manager-3.2.6
- old
+ new
@@ -14,11 +14,11 @@
<td><%=h mailing.subject %></td>
<td><%=h mailing.mailable.name rescue 'N/A' %></td>
<td><%=l(mailing.scheduled_at) rescue '' %></td>
<td><b><%=h mailing.status %></b></td>
<td align="center"><nobr><%= link_to 'Send Test', mail_manager.test_mailing_path(mailing), :id => 'Send_Test', :class => 'button' %></nobr></td>
- <td>
+ <td><div class="mailing_buttons">
<% if mailing.can_edit? %>
<%= link_to 'Edit', mail_manager.edit_mailing_path(mailing), :class => 'button' %>
<% if mailing.can_schedule? %>
<%= link_to 'Schedule', mail_manager.schedule_mailing_path(mailing), :method => :put, :class => 'button', :id => "schedule_mailing_#{mailing.id}", :confirm => "Are you sure you want to start the mailing at #{l(mailing.scheduled_at) rescue "N/A"}?" %>
<% end %>
@@ -31,19 +31,19 @@
<% end %>
<% if mailing.bounces.size > 0 %>
<%= link_to 'Bounces', mail_manager.bounces_path(:mailing_id => mailing.id), :class => 'button' %>
<% end %>
<%= link_to 'Delete', mail_manager.mailing_path(mailing), :method => :delete, :confirm => "Are you sure?", :class => 'button' %>
- </td>
+ </div></td>
</tr>
<% end %>
</table>
<% else %>
No mailings exist.<br /><br />
<% end %>
<%= content_for :page_navigation do %>
<div>
- <%= will_paginate @mailings %>
+ <%= will_paginate @mailings %><br /><br />
<%= link_to "New Mailing", mail_manager.new_mailing_path, :class => 'button' %>
</div>
<% end %>