summaryrefslogtreecommitdiff
path: root/chrome/content/accountWizard/bitmaskMessengerOverlay.xul
diff options
context:
space:
mode:
authorSukhbir Singh <sukhbir@torproject.org>2018-01-13 00:44:14 -0500
committerSukhbir Singh <sukhbir@torproject.org>2018-01-29 16:50:52 -0500
commit89d99387f7b72b5f629266c61c733974014cfdea (patch)
tree29ac3729f04a2e888d33df535cb677d175240ab9 /chrome/content/accountWizard/bitmaskMessengerOverlay.xul
parent3084a2f99dafa173f3d0ee4128e0a43d6ba62b3c (diff)
[feat] Display encryption status when viewing a message
Display a notification bar in the message pane if the message was encrypted for messages in the "Inbox" folder. For messages in the "Sent" folder, we have placeholder code for displaying the message state and for adding custom headers if required. However, we need to understand how to handle the case for multiple recipients with different encryption states since it's possible to send encrypted messages to recipients with known keys but the same message will be send unencrypted to recipients whose keys are not known. In such a case we can display the message status per-recipient.
Diffstat (limited to 'chrome/content/accountWizard/bitmaskMessengerOverlay.xul')
-rw-r--r--chrome/content/accountWizard/bitmaskMessengerOverlay.xul12
1 files changed, 9 insertions, 3 deletions
diff --git a/chrome/content/accountWizard/bitmaskMessengerOverlay.xul b/chrome/content/accountWizard/bitmaskMessengerOverlay.xul
index da906f6..57967e3 100644
--- a/chrome/content/accountWizard/bitmaskMessengerOverlay.xul
+++ b/chrome/content/accountWizard/bitmaskMessengerOverlay.xul
@@ -1,5 +1,9 @@
<?xml version="1.0"?>
+
+<?xml-stylesheet href="chrome://bitmask/skin/accountWizard.css" type="text/css"?>
+
<!DOCTYPE overlay SYSTEM "chrome://bitmask/locale/bitmaskMessengerOverlay.dtd">
+
<overlay id="bitmaskMessengerOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/javascript"
@@ -9,9 +13,11 @@
<script type="application/javascript"
src="chrome://bitmask/content/accountWizard/bitmaskMessengerOverlay.js"/>
- <stringbundleset id="stringbundleset">
- <stringbundle id="bitmaskMessengerStrings" src="chrome://bitmask/locale/bitmaskMessengerOverlay.properties"/>
- </stringbundleset>
+ <notificationbox id="msgNotificationBar" collapsed="true">
+ <hbox id="bitmaskHeader" class="bitmaskNotificationBar">
+ <description id="bitmaskDescription" />
+ </hbox>
+ </notificationbox>
<statusbar id="status-bar">
<statusbarpanel id="bitmaskStatusBarPanel" class="statusbarpanel-iconic-text" />