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

{{t "Stream permissions" }}

{{#if can_change_stream_permissions}}
{{/if}}
{{> stream_permission_description stream_post_policy_values=../stream_post_policy_values message_retention_text=../message_retention_text}}
{{/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 show_email=../show_email}}
{{/with}}