elofgren: On Newsletter 'Mailing List' 'Bounced' tab: Change instructions from "Uncheck the box to *disable* sending to an email address." to "Uncheck the box to *enable* sending to a *blacklisted* email

address.", label checkbox column as Blacklisted, and show the checkbox checked if Member.BlacklistedEmail? is true. This makes things easier to understand and correctly complies with spec: 
"Bounces report with tickboxes ticked by default (to not send to in the future, unticking resends)" 

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42057 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-16 02:30:08 +00:00
parent 70ae154609
commit 57f6174967

View File

@ -1,13 +1,13 @@
<% if Entries %>
<p><b>Instructions:</b></p>
<ul>
<li>Uncheck the box to disable sending to an email address.</li>
<li>Uncheck the box to enable sending to a blacklisted 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">&nbsp;</th>
<th width="18">Blacklisted</th>
<th>User name</th>
<th>Email address</th>
<th>Reason:</th>
@ -20,9 +20,9 @@
<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" />
<% else %>
<input class="checkbox" type="checkbox" name="BouncedList[]" value="$Record.ID" />
<% end_if %>
</td>
<td>$Member.FirstName $Member.Surname</td>