Support notifications for deleted users
This commit is contained in:
parent
e9318b23d8
commit
a106bc0357
@ -13,14 +13,14 @@
|
|||||||
<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><%= link_to notification.member do %><%= notification.member.display_name %> <<%= notification.member.email %>><% end %></td>
|
|
||||||
<td>
|
<td>
|
||||||
<% if notification.status == 'scheduled' %>
|
<% if notification.member %>
|
||||||
<%= form_with url: deliver_notification_path(notification) do |form| %>
|
<%= link_to notification.member do %><%= notification.member.display_name %> <<%= notification.member.email %>><% end %>
|
||||||
<%= form.submit t('members.show.actions.deliver_notification') %>
|
<% else %>
|
||||||
<% end %>
|
---
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user