P2P campaign creator email is shown in admin emails

This commit is contained in:
Eric Schultz 2019-01-22 15:26:07 -06:00 committed by Eric Schultz
parent 3d4e65059b
commit 449380f612
3 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@
<% if donation.campaign %>
<tr>
<td><strong>Campaign</strong></td>
<td><a href='<%= nonprofit_campaign_url(donation.nonprofit, donation.campaign) %>'><%= donation.campaign.name %> - Campaign Id: <%= donation.campaign.id%></a></td>
<td><a href='<%= nonprofit_campaign_url(donation.nonprofit, donation.campaign) %>'><%= donation.campaign.name %></a><small>(Campaign Id: <%= donation.campaign.id%>, Creator: <a href="mailto:<%= donation.campaign.profile.user.email %>"><%= donation.campaign.profile.user.email %></a>)</small></td>
</tr>
<% end %>

View file

@ -28,7 +28,7 @@
<% if donation.campaign && donation.campaign.published %>
<tr>
<td><strong><%= t('donation.campaign') %></strong></td>
<td><a href='<%= nonprofit_campaign_url(donation.nonprofit, donation.campaign) %>'><%= donation.campaign.name %> - Campaign Id: <%= donation.campaign.id%></a></td>
<td><a href='<%= nonprofit_campaign_url(donation.nonprofit, donation.campaign) %>'><%= donation.campaign.name %></a><small>(Campaign Id: <%= donation.campaign.id%>, Creator: <a href="mailto:<%= donation.campaign.profile.user.email %>"><%= donation.campaign.profile.user.email %></a>)</small></td>
</tr>
<% end %>

View file

@ -26,7 +26,7 @@
<% if donation.campaign && donation.campaign.published %>
<tr>
<td><strong>Campaign</strong></td>
<td><a href='<%= nonprofit_campaign_url(donation.nonprofit, donation.campaign) %>'><%= donation.campaign.name %> - Campaign Id: <%= donation.campaign.id%></a></td>
<td><a href='<%= nonprofit_campaign_url(donation.nonprofit, donation.campaign) %>'><%= donation.campaign.name %></a><small>(Campaign Id: <%= donation.campaign.id%>, Creator: <a href="mailto:<%= donation.campaign.profile.user.email %>"><%= donation.campaign.profile.user.email %></a>)</small></td>
</tr>
<% end %>