Display notification sent date

main
Hugo Peixoto 4 months ago
parent da34afc882
commit 9b91ae8df7
  1. 7
      app/views/members/show.html.erb

@ -61,7 +61,12 @@
<tr>
<td><%= notification.to_be_sent_on %></td>
<td><code><%= notification.template %></code></td>
<td><%= notification_status(notification.status) %></td>
<td>
<%= notification_status(notification.status) %>
<% if notification.status == 'sent' %>
(<%= notification.sent_at %>)
<% end %>
</td>
<td>
<% if notification.status == 'scheduled' %>
<%= form_with url: deliver_notification_path(notification) do |form| %>

Loading…
Cancel
Save