mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
706580c443
Make class BouncedList? just extend FormField? like it used to, extending TableListField? added unneeded complexity. Remove the unused Save button from the 'Mailing List' section. Fixes gsoc track ticket: #26 Remove uneeded "Save" button in "Mailing List" section of Newsletters (merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42039 467b73ca-7a2a-4603-9d3b-597d59a354a9
39 lines
1.3 KiB
Scheme
Executable File
39 lines
1.3 KiB
Scheme
Executable File
<% if Entries %>
|
|
<p><b>Instructions:</b></p>
|
|
<ul>
|
|
<li>Uncheck the box to disable sending to an email address.</li>
|
|
<li>To remove a recipients's email address from your mailing list, click the <img src="cms/images/delete.gif" alt="delete" /> icon.</li>
|
|
</ul>
|
|
<table id="BouncedListTable" class="CMSList BouncedList" summary="Emails that have bounced">
|
|
<thead>
|
|
<tr>
|
|
<th width="18"> </th>
|
|
<th>User name</th>
|
|
<th>Email address</th>
|
|
<th>Reason:</th>
|
|
<th>Last bounce at</th>
|
|
<th width="18"> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% control Entries %>
|
|
<tr>
|
|
<td class="markingcheckbox">
|
|
<% if Member.BlacklistedEmail %>
|
|
<input class="checkbox" type="checkbox" name="BouncedList[]" value="$Record.ID" />
|
|
<% else %>
|
|
<input class="checkbox" type="checkbox" checked="checked" name="BouncedList[]" value="$Record.ID" />
|
|
<% end_if %>
|
|
</td>
|
|
<td>$Member.FirstName $Member.Surname</td>
|
|
<td>$Member.Email</td>
|
|
<td>$Record.BounceMessage</td>
|
|
<td>$Record.Created.Long</td>
|
|
<td width="16"><a class="deletelink" href="admin/newsletter/removebouncedmember/$Record.ID/?GroupID=$GroupID"><img src="cms/images/delete.gif" alt="delete" /></a></td>
|
|
</tr>
|
|
<% end_control %>
|
|
</tbody>
|
|
</table>
|
|
<% else %>
|
|
<p>No emails sent have bounced.</p>
|
|
<% end_if %> |