silverstripe-reports/templates/Includes/NewsletterAdmin_UnsubscribedList.ss

21 lines
482 B
Scheme
Raw Normal View History

<% if Entries %>
<table class="CMSList UnsubscribedList" summary="Unsubscribed users">
<tbody>
<tr>
<td>User name</td>
<td>Unsubscribed on</td>
</tr>
<% control Entries %>
<tr>
<td>$Member.FirstName $Member.Surname</td>
<td>$Record.Created.Long</td>
</tr>
<% end_control %>
</tbody>
</table>
<% else %>
<p>
No users have unsubscribed from this newsletter.
</p>
<% end_if %>