Remove references to page_params.domain.

Continuation of 098797c, which removed the page_params.domain field.
This commit is contained in:
Rishi Gupta 2017-03-13 15:02:03 -07:00 committed by Tim Abbott
parent e7b3ea8fab
commit ddd0b854f9
6 changed files with 4 additions and 12 deletions

View File

@ -6,10 +6,7 @@ add_dependencies({
util: 'js/util.js',
});
set_global('page_params', {
domain: 'zulip.com',
});
set_global('page_params', {});
set_global('feature_flags', {});
var Filter = require('js/filter.js');
@ -566,4 +563,3 @@ function get_predicate(operators) {
assert.deepEqual(filter.operands('sender'), ['showell@foo.com']);
assert.deepEqual(filter.operands('stream'), ['steve@foo.com']);
}());

View File

@ -65,7 +65,6 @@ global.$ = require('jquery')(window);
enable_offline_push_notifications: false,
enable_online_push_notifications: false,
enable_digest_emails: false,
domain: "zulip.com",
autoscroll_forever: false,
default_desktop_notifications: false,
},

View File

@ -1,6 +1,4 @@
set_global('page_params', {
domain: 'zulip.com',
});
set_global('page_params', {});
add_dependencies({
unread: 'js/unread.js',
});

View File

@ -762,7 +762,6 @@ function render(template_name, args) {
var page_params = $.extend(page_param_checkbox_options, {
fullname: "Alyssa P. Hacker", password_auth_enabled: true,
avatar_url: "https://google.com",
domain: "zulip.com",
});
var checkbox_ids = ["enable_stream_desktop_notifications",

View File

@ -4,7 +4,7 @@
<form class="form-horizontal admin-realm-form">
<div class="alert" id="admin-realm-authentication-methods-status"></div>
<div class="admin-table-wrapper">
<p>{{#tr this}}Configure the authentication methods for the __domain__ organization.{{/tr}}</p>
<p>{{#tr this}}Configure the authentication methods for your organization.{{/tr}}</p>
<table class="table table-condensed table-striped">
<tbody id="admin_auth_methods_table" class=" admin_auth_methods_table">
<th>{{t "Method" }}</th>

View File

@ -3,7 +3,7 @@
{{t "Default streams"}}</div>
<div class="side-padded-container">
<p>{{#tr this}}Configure the default streams new users are subscribed to when joining the {{domain}} organization.{{/tr}}</p>
<p>{{#tr this}}Configure the default streams new users are subscribed to when joining your organization.{{/tr}}</p>
</div>
<table class="table table-condensed table-striped">