Support notifications for deleted users

This commit is contained in:
Hugo Peixoto 2023-03-17 16:03:01 +00:00
parent e9318b23d8
commit a106bc0357

View File

@ -13,14 +13,14 @@
<tr>
<td><%= notification.to_be_sent_on %></td>
<td><code><%= notification.template %></code></td>
<td><%= link_to notification.member do %><%= notification.member.display_name %> &lt;<%= notification.member.email %>&gt;<% end %></td>
<td>
<% if notification.status == 'scheduled' %>
<%= form_with url: deliver_notification_path(notification) do |form| %>
<%= form.submit t('members.show.actions.deliver_notification') %>
<% end %>
<% if notification.member %>
<%= link_to notification.member do %><%= notification.member.display_name %> &lt;<%= notification.member.email %>&gt;<% end %>
<% else %>
---
<% end %>
</td>
<td></td>
</tr>
<% end %>
</table>