From 2766e29a946708cb9325b7228a84529daa604eca Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Fri, 6 Mar 2015 16:56:53 -0300 Subject: for #288, adds encryption error message, as in https://gist.github.com/lqust/a19e5be212c7539da996#file-gistfile1-txt --- web-ui/app/locales/en-us/translation.json | 1 + web-ui/app/locales/en/translation.json | 1 + web-ui/app/scss/_security.scss | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/web-ui/app/locales/en-us/translation.json b/web-ui/app/locales/en-us/translation.json index 24eb2899..8cdb419e 100644 --- a/web-ui/app/locales/en-us/translation.json +++ b/web-ui/app/locales/en-us/translation.json @@ -44,6 +44,7 @@ "you": "you", "encrypted": "Encrypted", "encrypted encryption-failure": "You are not authorized to see this message.", + "encrypted encryption-error": "Message was encrypted but we couldn't decrypt it.", "encrypted encryption-valid": "Message was transmitted securely.", "not-encrypted": "Message was readable during transmission.", "signed": "Certified sender.", diff --git a/web-ui/app/locales/en/translation.json b/web-ui/app/locales/en/translation.json index 24eb2899..8cdb419e 100644 --- a/web-ui/app/locales/en/translation.json +++ b/web-ui/app/locales/en/translation.json @@ -44,6 +44,7 @@ "you": "you", "encrypted": "Encrypted", "encrypted encryption-failure": "You are not authorized to see this message.", + "encrypted encryption-error": "Message was encrypted but we couldn't decrypt it.", "encrypted encryption-valid": "Message was transmitted securely.", "not-encrypted": "Message was readable during transmission.", "signed": "Certified sender.", diff --git a/web-ui/app/scss/_security.scss b/web-ui/app/scss/_security.scss index 6d68066b..2a6b60aa 100644 --- a/web-ui/app/scss/_security.scss +++ b/web-ui/app/scss/_security.scss @@ -20,6 +20,12 @@ content: "\f023 \f05e"; } } + &.encryption-error { + background: $attention; + &:before { + content: "\f023 \f12a"; + } + } } &.signed { &:before { -- cgit v1.2.3