From e064dc4a46408a0ae1ad14bdef149b7b605e216a Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 24 Jul 2015 15:45:19 -0400 Subject: [PATCH] (js) Add support for local URL in sgAvatarImage Directive was previously named sgGravatarImage. The local URL will be used before falling back to Gravatar. --- .../ContactsUI/UIxContactFoldersView.wox | 14 ++--- .../ContactsUI/UIxContactViewTemplate.wox | 16 ++--- .../MailerUI/UIxMailFolderTemplate.wox | 10 ++-- .../UIxAppointmentEditorTemplate.wox | 8 +-- .../UIxAppointmentViewTemplate.wox | 8 +-- .../SchedulerUI/UIxAttendeesEditor.wox | 6 +- .../js/Common/sgAvatarImage.directive.js | 58 +++++++++++++++++++ .../js/Common/sgGravatarImage.directive.js | 35 ----------- 8 files changed, 86 insertions(+), 69 deletions(-) create mode 100644 UI/WebServerResources/js/Common/sgAvatarImage.directive.js delete mode 100644 UI/WebServerResources/js/Common/sgGravatarImage.directive.js diff --git a/UI/Templates/ContactsUI/UIxContactFoldersView.wox b/UI/Templates/ContactsUI/UIxContactFoldersView.wox index 9420bfd27..485240243 100644 --- a/UI/Templates/ContactsUI/UIxContactFoldersView.wox +++ b/UI/Templates/ContactsUI/UIxContactFoldersView.wox @@ -6,7 +6,7 @@ xmlns:const="http://www.skyrix.com/od/constant" xmlns:label="OGo:label" const:userDefaultsKeys="SOGoContactsCategories" - const:jsFiles="Contacts.app.js, Contacts.js, Common.js, Contacts.js" + const:jsFiles="Contacts.app.js, Contacts.js, Common.js" className="UIxPageFrame" title="name">