summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/preferences/notifications.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/components/preferences/notifications.xhtml')
-rw-r--r--comm/mail/components/preferences/notifications.xhtml71
1 files changed, 71 insertions, 0 deletions
diff --git a/comm/mail/components/preferences/notifications.xhtml b/comm/mail/components/preferences/notifications.xhtml
new file mode 100644
index 0000000000..d9abb47e4e
--- /dev/null
+++ b/comm/mail/components/preferences/notifications.xhtml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<?xml-stylesheet href="chrome://global/skin/global.css"?>
+
+<!DOCTYPE window>
+
+<window
+ type="child"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ data-l10n-id="notifications-dialog-window"
+>
+ <dialog id="NotificationsDialog" dlgbuttons="accept,cancel">
+ <linkset>
+ <html:link
+ rel="localization"
+ href="messenger/preferences/notifications.ftl"
+ />
+ </linkset>
+ <description data-l10n-id="customize-alert-description" />
+
+ <checkbox
+ id="previewText"
+ class="indent"
+ data-l10n-id="preview-text-checkbox"
+ preference="mail.biff.alert.show_preview"
+ />
+ <checkbox
+ id="subject"
+ class="indent"
+ data-l10n-id="subject-checkbox"
+ preference="mail.biff.alert.show_subject"
+ />
+ <checkbox
+ id="sender"
+ class="indent"
+ data-l10n-id="sender-checkbox"
+ preference="mail.biff.alert.show_sender"
+ />
+
+ <separator />
+
+ <hbox align="center">
+ <label
+ id="totalOpenTimeBefore"
+ control="totalOpenTime"
+ data-l10n-id="open-time-label-before"
+ />
+ <html:input
+ id="totalOpenTime"
+ type="number"
+ class="size3"
+ min="1"
+ max="3600"
+ preference="alerts.totalOpenTime"
+ />
+ <label
+ id="totalOpenTimeEnd"
+ data-l10n-id="open-time-label-after"
+ class="startSpacing"
+ />
+ </hbox>
+ <separator />
+
+ <script src="chrome://global/content/preferencesBindings.js" />
+ <script src="chrome://messenger/content/preferences/notifications.js" />
+ </dialog>
+</window>