mirror of https://github.com/zulip/zulip.git
settings: Show enable_spectator_access option if server-setting is enabled.
We show the "Allow creating web-public streams" setting in UI only if settings.WEB_PUBLIC_STREAMS_ENABLED is true on the server.
This commit is contained in:
parent
2c1a87166c
commit
260851cd0e
|
@ -107,7 +107,7 @@
|
|||
setting_name="realm_enable_spectator_access"
|
||||
prefix="id_"
|
||||
is_checked=realm_enable_spectator_access
|
||||
render_only=page_params.development_environment
|
||||
render_only=page_params.server_web_public_streams_enabled
|
||||
label=admin_settings_label.realm_enable_spectator_access}}
|
||||
<div class="input-group">
|
||||
<label for="realm_create_private_stream_policy" class="dropdown-title">{{t "Who can create private streams" }}</label>
|
||||
|
|
Loading…
Reference in New Issue