framework/ember/app/templates/discussion.hbs

17 lines
375 B
Handlebars
Raw Normal View History

2014-12-20 14:26:46 +08:00
<header class="page-header discussion-header">
{{partial "partials/discussion-header"}}
2014-12-20 14:26:46 +08:00
</header>
<nav class="discussion-nav">
{{view view.sidebar viewName="sidebar"}}
</nav>
2014-12-20 14:26:46 +08:00
<section class="items posts">
{{#each item in postStream}}
{{#discussion-item item=item}}
{{#if item.post}}{{discussion-post post=item.post}}{{/if}}
{{/discussion-item}}
2014-12-20 14:26:46 +08:00
{{/each}}
</section>