From 3901bcb8dfcf106be0a0667bbe34020c4f912003 Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 22 Mar 2016 14:47:17 -0700 Subject: [PATCH] Style resend button as an inline link For messages that failed to send due to network errors, this change allows retrying them directly from the main conversation view rather than only from the message detail view. // FREEBIE --- _locales/en/messages.json | 4 +++ background.html | 10 +++--- js/models/messages.js | 8 +++++ js/views/message_detail_view.js | 21 +----------- js/views/message_view.js | 31 +++++++++++++++-- stylesheets/_conversation.scss | 55 ++++++++++++++---------------- stylesheets/manifest.css | 59 ++++++++++++++++----------------- 7 files changed, 99 insertions(+), 89 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 219f346e3..6e5c79bbd 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -238,5 +238,9 @@ "restartSignal": { "message": "Restart Signal", "description": "Menu item for restarting the program." + }, + "messageNotSent": { + "message": "Message not sent.", + "description": "Informational label, appears on messages that failed to send" } } diff --git a/background.html b/background.html index a7396aba7..0b4f68955 100644 --- a/background.html +++ b/background.html @@ -110,6 +110,10 @@
x
+