From 1cf9289b1a272211853c17b991f7901556978999 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Thu, 15 Jun 2017 12:27:41 -0700 Subject: [PATCH] Add items to conversation history when user verifies/unverifies FREEBIE --- _locales/en/messages.json | 20 +++++++++++++++++++ background.html | 3 +++ images/shield.svg | 1 + js/conversation_controller.js | 5 +++++ js/models/conversations.js | 35 +++++++++++++++++++++++++++++++++- js/models/messages.js | 12 ++++++++++++ js/views/conversation_view.js | 8 +++++--- js/views/message_list_view.js | 2 ++ js/views/message_view.js | 31 ++++++++++++++++++++++++++++++ stylesheets/_conversation.scss | 26 +++++++++++++++++++++++++ stylesheets/manifest.css | 23 ++++++++++++++++++++++ test/index.html | 6 ++++++ 12 files changed, 168 insertions(+), 4 deletions(-) create mode 100644 images/shield.svg diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 71becdb15..508baf3c1 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -33,6 +33,26 @@ } } }, + "youMarkedAsVerified": { + "message": "You marked $name$ as verified.", + "description": "Shown in the conversation history when the user marks a contact as verified.", + "placeholders": { + "name": { + "content": "$1", + "example": "Bob" + } + } + }, + "youMarkedAsNotVerified": { + "message": "You marked $name$ as not verified.", + "description": "Shown in the conversation history when the user marks a contact as verified, whether on the safety number screen or by dismissing a banner or dialog.", + "placeholders": { + "name": { + "content": "$1", + "example": "Bob" + } + } + }, "changedSinceVerifiedMultiple": { "message": "Your safety numbers with multiple group members have changed since you last verified.", "description": "Shown on confirmation dialog when user attempts to send a message" diff --git a/background.html b/background.html index 43e3db9f2..da4cb9609 100644 --- a/background.html +++ b/background.html @@ -193,6 +193,9 @@ + + +