diff --git a/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox b/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox index dfcc185ab..7d72be987 100644 --- a/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox +++ b/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox @@ -10,6 +10,8 @@ {{category.value}} + +
@@ -298,71 +300,58 @@ + +
-
- - - - - - - - - -
-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
-
+ + + + + + + + + + + + + + + -
-
-
- - - -
-
- -
-
- -
-
-
-
- - - - -
-
+
+ + + +
+ +
+ + + + + + + + + + +
diff --git a/UI/Templates/ContactsUI/UIxContactViewTemplate.wox b/UI/Templates/ContactsUI/UIxContactViewTemplate.wox index 26595283c..f83c908b2 100644 --- a/UI/Templates/ContactsUI/UIxContactViewTemplate.wox +++ b/UI/Templates/ContactsUI/UIxContactViewTemplate.wox @@ -41,39 +41,44 @@ -
- - -
-
- - {{ref.$fullname()}} - -
- - - {{ref.email}} + + + +
+
+
+
-
- -
-
-
- -
- - - + + +
- - +
diff --git a/UI/WebServerResources/js/Common/user-model.js b/UI/WebServerResources/js/Common/user-model.js index e0248ef29..8cff4daa5 100644 --- a/UI/WebServerResources/js/Common/user-model.js +++ b/UI/WebServerResources/js/Common/user-model.js @@ -13,6 +13,7 @@ if (!this.shortFormat) this.shortFormat = this.$shortFormat(); + // FIXME this.image = "http://www.gravatar.com/avatar/asdasdasdasd?d=identicon"; } } diff --git a/UI/WebServerResources/js/Contacts/card-model.js b/UI/WebServerResources/js/Contacts/card-model.js index 599601e81..3eb28095f 100644 --- a/UI/WebServerResources/js/Contacts/card-model.js +++ b/UI/WebServerResources/js/Contacts/card-model.js @@ -20,6 +20,12 @@ this.$unwrap(newCardData); this.isNew = true; } + + if (!this.shortFormat) + this.shortFormat = this.$shortFormat(); + + // FIXME + this.image = "http://www.gravatar.com/avatar/asdasdasdasd?d=identicon"; } else { // The promise will be unwrapped first