{{#if is_stream}} {{> inbox_stream_header_row .}} {{else}}
{{#if is_direct}} {{#if is_bot}} {{else if is_group}} {{else}} {{/if}} {{{rendered_dm_with_html}}} @
{{unread_count}}
{{else if is_topic}} @ {{#unless (or (eq unread_count undefined) (eq unread_count 0))}}
{{unread_count}}
{{/unless}} {{/if}}
{{#unless is_direct}}
{{#if (and is_topic (not stream_archived))}} {{#if (eq visibility_policy all_visibility_policies.FOLLOWED)}} {{else if (eq visibility_policy all_visibility_policies.UNMUTED)}} {{else if (eq visibility_policy all_visibility_policies.MUTED)}} {{else if (eq visibility_policy all_visibility_policies.INHERIT)}} {{/if}} {{/if}}
{{/unless}}
{{/if}}