Sha256: efd4efa8003d21e25b0f42ac6776f4f354eab160b05bd4750c66e6c7ad5a6c02
Contents?: true
Size: 1.37 KB
Versions: 4
Compression:
Stored size: 1.37 KB
Contents
<h1>Mails</h1> <div style="float:right"><%=link_to 'configure', action: :configure %></div> <table class="table table-striped"> <thead> <tr> <th>ID</th> <th>Mailer</th> <th>Mailer Method</th> <th>Request Date</th> <th>Last Update</th> <th>Status</th> <th>Actions</th> </tr> </thead> <tbody> <% @requests.each do |request| %> <tr> <td><%=link_to request.id, request %></td> <td><%=request.mailer %></td> <td> <%=request.mailer_method %> <% if !request.sent? %> <%=link_to('pause all', pause_all_email_request_path(request)) unless request.paused?%> <%=link_to('retry all', retry_all_email_request_path(request)) %> <% end %> </td> <td><%=time_ago_in_words(request.created_at) %> ago</td> <td><%=time_ago_in_words(request.updated_at) %> ago</td> <td><%=request.status %></td> <td> <% if !request.sent? %> <%=link_to('pause', pause_email_request_path(request)) unless request.paused? %> <%=link_to 'retry', retry_email_request_path(request) %> <% end %> </td> </tr> <% end %> </tbody> </table> <% if @pagination %> <%=link_to '< prev', @pagination.prev_page_url if @pagination.prev_page_url%> <%=link_to 'next >', @pagination.next_page_url if @pagination.next_page_url%> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems