Add realm option to show or not show digest e-mail.

(imported from commit e9cfe519aa9f2857a1dcc7c75f5e1889834fcb86)
This commit is contained in:
David Roe
2015-08-20 00:11:11 -07:00
committed by Tim Abbott
parent e5cb2a468f
commit 809efc4f2b
7 changed files with 282 additions and 16 deletions

View File

@@ -188,8 +188,8 @@ exports.setup_page = function () {
password_quality($('#new_password').val(), $('#pw_strength .bar'));
});
if (feature_flags.dont_show_digest_email_setting) {
$("#digest_container").hide();
if (!page_params.show_digest_email) {
$("#other_notifications").hide();
}
if (!feature_flags.new_bot_ui) {
$('.new-bot-ui').hide();