From 62255eaf33645a53af2a61bf9830ac6b1ffca86b Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Fri, 27 Nov 2015 11:27:38 -0500 Subject: [PATCH] (feat) role can be displayed and set --- UI/Contacts/UIxContactEditor.m | 1 + UI/Templates/ContactsUI/UIxContactEditorTemplate.wox | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/UI/Contacts/UIxContactEditor.m b/UI/Contacts/UIxContactEditor.m index abb3e38a9..e01d6ca39 100644 --- a/UI/Contacts/UIxContactEditor.m +++ b/UI/Contacts/UIxContactEditor.m @@ -357,6 +357,7 @@ static Class SOGoContactGCSEntryK = Nil; [card setNickname: [attributes objectForKey: @"nickname"]]; [card setFn: [attributes objectForKey: @"c_cn"]]; [card setTitle: [attributes objectForKey: @"title"]]; + [card setRole: [attributes objectForKey: @"role"]]; if ([attributes objectForKey: @"c_screenname"]) [[card uniqueChildWithTag: @"x-aim"] diff --git a/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox b/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox index 33cfe31f0..928e1e92e 100644 --- a/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox +++ b/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox @@ -64,19 +64,25 @@ -
- +
+ - + + + + +