21 lines
1.2 KiB
Plaintext
21 lines
1.2 KiB
Plaintext
|
|
|||
|
<tr id="<%= dom_id mail_cron %>">
|
|||
|
<td>
|
|||
|
<% if is_manager? %>
|
|||
|
<%= check_box_tag 'to_delete[]', mail_cron.id, false, :class => "list-check" %>
|
|||
|
<% end -%>
|
|||
|
</td>
|
|||
|
<td><%= display_date_time(mail_cron.mail_sentdate) %></td>
|
|||
|
<td><%= mail_cron.mail_subject %>
|
|||
|
<div class="quick-edit">
|
|||
|
<ul class="nav nav-pills">
|
|||
|
<%= content_tag(:li, link_to(t(:detail), '#', class: ("detail-row"))) if at_least_module_manager %>
|
|||
|
<%if at_least_module_manager %>
|
|||
|
<li><%= link_to t(:delete_), admin_mail_cron_path(mail_cron), :class=>"text-error", :confirm => t('sure?'), :method => :delete, :remote => true %></li>
|
|||
|
<% end -%>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</td>
|
|||
|
<td><p><%= mail_cron.mail_to.gsub(/,/, ", ").html_safe %></p></td>
|
|||
|
<td><%= mail_cron.mail_from_app %></td>
|
|||
|
</tr>
|