summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-03-06 16:56:53 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-03-06 16:58:09 -0300
commit2766e29a946708cb9325b7228a84529daa604eca (patch)
tree65e500ac14102af28da8c0ac1cb30aae61b38df6 /web-ui
parente4cb6b011ba877878e1c662a42fa3ba6e324a19f (diff)
for #288, adds encryption error message, as in https://gist.github.com/lqust/a19e5be212c7539da996#file-gistfile1-txt
Diffstat (limited to 'web-ui')
-rw-r--r--web-ui/app/locales/en-us/translation.json1
-rw-r--r--web-ui/app/locales/en/translation.json1
-rw-r--r--web-ui/app/scss/_security.scss6
3 files changed, 8 insertions, 0 deletions
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 {