Display notification sent date

This commit is contained in:
Hugo Peixoto 2023-01-25 14:01:24 +00:00
parent da34afc882
commit 9b91ae8df7
1 changed files with 6 additions and 1 deletions

View File

@ -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| %>