From e26b9bfbc7c4f1b470e921ed7ba2b6f1e4d5aaa9 Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 18 Jun 2015 17:05:00 -0700 Subject: [PATCH] Default avatar support Fixes #264 Implement the equivalent of java's String.hashCode on the conversation model. Change avatar template and attributes. Use css classes for colors. --- background.html | 4 +- js/models/conversations.js | 31 ++++++++++++- js/views/conversation_list_item_view.js | 2 +- js/views/message_detail_view.js | 6 +-- js/views/message_view.js | 2 +- js/views/new_group_update_view.js | 2 +- stylesheets/_global.scss | 24 ++++++++++ stylesheets/manifest.css | 58 ++++++++++++++++++++++++- stylesheets/manifest.css.map | 2 +- 9 files changed, 120 insertions(+), 11 deletions(-) diff --git a/background.html b/background.html index 38e6ebd4..3565cc38 100644 --- a/background.html +++ b/background.html @@ -95,7 +95,9 @@