framework/ember/app/templates/discussion.hbs

20 lines
457 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>
<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>
{{#if postStream.lastLoaded}}
<footer class="page-footer discussion-footer">
{{menu-list items=view.footerControls class="list-inline"}}
</footer>
{{/if}}