See ChangeLog

Monotone-Parent: 93bde4643a2fb0ad0e86c36a29a73bc23ad39c64
Monotone-Revision: 04f443d215f2bc7c0d902f56f363c597ecffbcff

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-02-23T23:06:55
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2011-02-23 23:06:55 +00:00
parent 3c3eb510a0
commit f5378d5228
6 changed files with 146 additions and 6 deletions
+5
View File
@@ -133,6 +133,11 @@ static NSString *mailETag = nil;
return [[[self clientObject] ccEnvelopeAddresses] count] > 0 ? YES : NO;
}
- (BOOL) hasBCC
{
return [[[self clientObject] bccEnvelopeAddresses] count] > 0 ? YES : NO;
}
- (BOOL) hasReplyTo
{
return [[[self clientObject] replyToEnvelopeAddresses] count] > 0 ? YES : NO;
+15
View File
@@ -64,6 +64,21 @@
</td>
</tr>
</var:if>
<var:if condition="hasBCC">
<tr class="mailer_fieldrow">
<td class="mailer_fieldname"><img rsrc:src="plus.png" class="collapse" style="display: none;" /><var:string label:value="Bcc"/>:</td>
<td class="mailer_fieldvalue">
<span class="collapse"><var:foreach list="clientObject.bccEnvelopeAddresses"
item="currentAddress">
<a var:href="currentAddressLink"
><var:string value="currentAddress"
formatter="context.mailEnvelopeFullAddressFormatter"
/></a>
<!-- TODO: better to use li+CSS -->
</var:foreach></span>
</td>
</tr>
</var:if>
<var:if condition="hasReplyTo">
<tr class="mailer_fieldrow">
<td class="mailer_fieldname"><var:string label:value="Reply-To"/>:</td>