<%= t('notifications.index.title') %>

<%= t('notifications.index.scheduled') %>

<% @scheduled.each do |notification| %> <% end %>
<%= t('notifications.attributes.to_be_sent_on') %> <%= t('notifications.attributes.template') %> <%= t('notifications.attributes.member') %> <%= t('members.show.contribution_actions') %>
<%= notification.to_be_sent_on %> <%= notification.template %> <%= link_to notification.member do %><%= notification.member.display_name %> <<%= notification.member.email %>><% end %> <% if notification.status == 'scheduled' %> <%= form_with url: deliver_notification_path(notification) do |form| %> <%= form.submit t('members.show.actions.deliver_notification') %> <% end %> <% end %>

<%= t('notifications.index.sent') %>

<% @sent.each do |notification| %> <% end %>
<%= t('notifications.attributes.to_be_sent_on') %> <%= t('notifications.attributes.template') %> <%= t('notifications.attributes.member') %> <%= t('members.show.contribution_actions') %>
<%= notification.to_be_sent_on %> <%= notification.template %> <%= link_to notification.member do %><%= notification.member.display_name %> <<%= notification.member.email %>><% end %> <% if notification.status == 'scheduled' %> <%= form_with url: deliver_notification_path(notification) do |form| %> <%= form.submit t('members.show.actions.deliver_notification') %> <% end %> <% end %>