mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 23:07:12 +00:00
Monotone-Parent: 8ea262b5fc027ba0d5aabcee59dcaec6c7f51cf1
Monotone-Revision: a520711e0a93bd5fa2c3ea213699ee5de9e4ab5e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-19T14:09:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
a7d41b5240
commit
bd87f11750
1 file changed
+14
-2
@@ -20,12 +20,13 @@
|
|||||||
*/
|
*/
|
||||||
// $Id: UIxContactView.m 932 2005-08-01 13:17:55Z helge $
|
// $Id: UIxContactView.m 932 2005-08-01 13:17:55Z helge $
|
||||||
|
|
||||||
|
#import <Contacts/SOGoContactObject.h>
|
||||||
|
|
||||||
#import <NGCards/NGVCard.h>
|
#import <NGCards/NGVCard.h>
|
||||||
#import <NGCards/CardElement.h>
|
#import <NGCards/CardElement.h>
|
||||||
#import <NGCards/NSArray+NGCards.h>
|
#import <NGCards/NSArray+NGCards.h>
|
||||||
|
#import <NGExtensions/NSString+Ext.h>
|
||||||
|
|
||||||
#import <Contacts/SOGoContactObject.h>
|
|
||||||
#import "common.h"
|
#import "common.h"
|
||||||
|
|
||||||
#import "UIxContactView.h"
|
#import "UIxContactView.h"
|
||||||
@@ -390,7 +391,18 @@
|
|||||||
|
|
||||||
- (NSString *) note
|
- (NSString *) note
|
||||||
{
|
{
|
||||||
return [self _cardStringWithLabel: @"Note: " value: [card note]];
|
NSString *note;
|
||||||
|
|
||||||
|
note = [card note];
|
||||||
|
if (note)
|
||||||
|
{
|
||||||
|
note = [note stringByReplacingString: @"\r\n"
|
||||||
|
withString: @"<br />"];
|
||||||
|
note = [note stringByReplacingString: @"\n"
|
||||||
|
withString: @"<br />"];
|
||||||
|
}
|
||||||
|
|
||||||
|
return [self _cardStringWithLabel: @"Note: " value: note];
|
||||||
}
|
}
|
||||||
|
|
||||||
/* hrefs */
|
/* hrefs */
|
||||||
|
|||||||
Reference in new issue
Block a user