{{#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 "Channel 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 check_default_stream=../check_default_stream 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" }}
{{/with}}

{{t "Channel details" }}

{{#with sub}}
{{#if creator}} {{#tr}} Created by on . {{#*inline "z-user"}} {{> ../user_display_only_pill is_inline=true user_id=creator.user_id img_src=creator.avatar_url display_value=creator.full_name is_current_user=is_creator }} {{/inline}} {{#*inline "z-stream-date-created"}}{{date_created_string}}{{/inline}} {{/tr}} {{else}} {{#tr}} Created on . {{#*inline "z-stream-date-created"}}{{date_created_string}}{{/inline}} {{/tr}} {{/if}}
{{t "Channel ID"}}
{{stream_id}}
{{/with}} {{#if can_access_stream_email}} {{/if}}

{{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" }}

{{t "In muted channels, channel notification settings apply only to unmuted topics." }}

{{#each notification_settings}}
{{> stream_settings_checkbox setting_name=name is_checked=is_checked 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}}