mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +00:00
Properly prepopulate realm name on admin page.
Also, don't call it that. (imported from commit baacd95be5b01373aa9423071ca72d917480e341)
This commit is contained in:
@@ -71,7 +71,7 @@ function populate_streams (streams_data) {
|
||||
}
|
||||
|
||||
exports.setup_page = function () {
|
||||
var admin_tab = templates.render('admin_tab');
|
||||
var admin_tab = templates.render('admin_tab', {realm_name: page_params.realm_name});
|
||||
$("#administration").html(admin_tab);
|
||||
$("#administration-status").hide();
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<form class="admin-realm-name form-horizontal">
|
||||
<div class="control-group admin-realm-name">
|
||||
<div class="alert admin-realm-name-status"></div>
|
||||
<label for="realm_name" class="control-label">Realm name</label>
|
||||
<label for="realm_name" class="control-label">Your organization's name</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="realm_name" class="admin-realm-name"
|
||||
value="{{ realm_name }}" />
|
||||
|
||||
Reference in New Issue
Block a user