mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
frontend: realm_alias to realm_domain migration.
* Change the classes and ids of different widgets and modals and make suitable changes in `admin.js`. * Remove any other occurrences of `alias` or `realm_alias` from admin.js.
This commit is contained in:
committed by
Tim Abbott
parent
cebcfb8d29
commit
885ec07192
@@ -97,7 +97,7 @@ function render(template_name, args) {
|
||||
(function admin_alias_list() {
|
||||
var html = "<table>";
|
||||
var args = {
|
||||
alias: {
|
||||
realm_domain: {
|
||||
domain: 'zulip.org',
|
||||
allow_subdomains: true,
|
||||
},
|
||||
@@ -111,7 +111,7 @@ function render(template_name, args) {
|
||||
var subdomains_checkbox = row.find('.allow-subdomains');
|
||||
|
||||
assert.equal(button.text().trim(), "Remove");
|
||||
assert(button.hasClass("delete_alias"));
|
||||
assert(button.hasClass("delete_realm_domain"));
|
||||
assert.equal(domain.text(), "zulip.org");
|
||||
|
||||
assert.equal(subdomains_checkbox.prop('checked'), true);
|
||||
|
||||
Reference in New Issue
Block a user