Monotone-Parent: 4a468f80bf0ec2ffe462494051a6b19cbfe6cae0

Monotone-Revision: c98cf880ac8acb55a11ef10036185bef0a89375d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-27T16:23:06
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-10-27 16:23:06 +00:00
parent 33493530a5
commit af44bf3901
18 changed files with 34 additions and 3 deletions

View File

@@ -63,8 +63,8 @@
{
NSMutableString *cardString;
cardString = [NSMutableString string];
if (value && [value length] > 0)
cardString = [NSMutableString stringWithCapacity: 80];
if ([value length] > 0)
{
if (label)
[cardString appendFormat: @"%@&nbsp;%@<br />\n",
@@ -207,6 +207,15 @@
return @"";
}
- (NSString *) categories
{
NSString *categories;
categories = [[card categories] componentsJoinedByString: @", "];
return [self _cardStringWithLabel: @"Categories:"
value: categories];
}
- (BOOL) hasTelephones
{
if (!phones)