{{#with sub}}
{{#if is_realm_admin}} {{/if}}
{{/with}}
{{#with sub}}
{{> stream_settings_tip}}
{{> stream_privacy_icon invite_only=invite_only is_web_public=is_web_public }}
{{name}}
{{> stream_description rendered_description=rendered_description }}

{{t "Stream permissions" }}

{{> ../settings/settings_save_discard_widget section_name="stream-permissions" }}
{{> stream_types stream_post_policy_values=../stream_post_policy_values stream_privacy_policy_values=../stream_privacy_policy_values stream_privacy_policy=../stream_privacy_policy zulip_plan_is_not_limited=../zulip_plan_is_not_limited upgrade_text_for_wide_organization_logo=../upgrade_text_for_wide_organization_logo is_business_type_org=../is_business_type_org org_level_message_retention_setting=../org_level_message_retention_setting is_stream_edit=true can_remove_subscribers_setting_widget_name="can_remove_subscribers_group_id" }}
{{/with}}

{{t "Personal settings" }}

{{#each other_settings}}
{{> stream_settings_checkbox setting_name=name is_checked=is_checked is_muted=(lookup ../sub "is_muted") stream_id=(lookup ../sub "stream_id") notification_setting=false disabled_realm_setting=disabled_realm_setting is_disabled=is_disabled label=label}}
{{/each}}

{{t "Notification settings" }}

{{#each notification_settings}}
{{> stream_settings_checkbox setting_name=name is_checked=is_checked is_muted=(lookup ../sub "is_muted") stream_id=(lookup ../sub "stream_id") notification_setting=true disabled_realm_setting=disabled_realm_setting is_disabled=is_disabled label=label}}
{{/each}}
{{#with sub}}
{{> stream_members}}
{{/with}}