Show member in sent notifications list
This commit is contained in:
parent
abaf80e5c4
commit
d8befb0ea3
@ -32,14 +32,14 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th><%= t('notifications.attributes.to_be_sent_on') %></th>
|
<th><%= t('notifications.attributes.to_be_sent_on') %></th>
|
||||||
<th><%= t('notifications.attributes.template') %></th>
|
<th><%= t('notifications.attributes.template') %></th>
|
||||||
<th><%= t('notifications.attributes.status') %></th>
|
<th><%= t('notifications.attributes.member') %></th>
|
||||||
<th><%= t('members.show.contribution_actions') %></th>
|
<th><%= t('members.show.contribution_actions') %></th>
|
||||||
</tr>
|
</tr>
|
||||||
<% @sent.each do |notification| %>
|
<% @sent.each do |notification| %>
|
||||||
<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><%= link_to notification.member do %><%= notification.member.display_name %> <<%= notification.member.email %>><% 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| %>
|
||||||
|
@ -124,6 +124,7 @@ pt:
|
|||||||
to_be_sent_on: Data de envio
|
to_be_sent_on: Data de envio
|
||||||
template: Modelo
|
template: Modelo
|
||||||
status: Estado
|
status: Estado
|
||||||
|
member: Membro
|
||||||
status:
|
status:
|
||||||
sent: Enviada
|
sent: Enviada
|
||||||
scheduled: Agendada
|
scheduled: Agendada
|
||||||
|
Loading…
Reference in New Issue
Block a user