{{#contentFor "menu"}}
{{/contentFor}}
{{#Layout template="InboxLayout" hasRight=hasRight hasSidebar=hasSidebar}}
{{> ThreadList}}
{{> contentFor region="header" template="ThreadHeader" data=thread}}
{{> contentFor region="right" template="Thread" data=thread}}
{{> contentFor region="sidebar" template="ThreadDetail" data=thread}}
{{/Layout}}
{{#each channels}}
{{name}}
{{#if countUnreadChannel _id}}
{{countUnreadChannel _id}}
{{/if}}
{{/each}}