Add mandatory topics as a realm option.

(imported from commit 929a884b8610669aa24a167367b899683e33a045)
This commit is contained in:
David Roe
2015-08-19 23:41:50 -07:00
committed by Tim Abbott
parent 6a63303736
commit 90e2f5053f
5 changed files with 273 additions and 8 deletions

View File

@@ -27,12 +27,6 @@ exports.disable_message_editing = _.contains(['mit.edu'], page_params.domain);
exports.is_og_zulip_user = _.contains(og_zuliper_emails, page_params.email);
exports.twenty_four_hour_time = special_24_hour_people || iceland;
exports.mandatory_topics = _.contains([
'customer7.invalid'
],
page_params.domain
);
exports.left_side_userlist = _.contains(['customer7.invalid'], page_params.domain);
//This was set as a page_params variable already, because it's also used in
//the settings.html django template. See zerver/views/__init__.py:home(request).