Display notification sent date

This commit is contained in:
Hugo Peixoto 2023-01-25 14:01:24 +00:00
parent da34afc882
commit 9b91ae8df7

View File

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