Vulcan/client/templates/comment_page.html
Matt DeBergalis e07daec6f3 Use currentUser builtin to simplify templates.
* {{currentUser.isAdmin}} instead of custom helpers.
* drop currentUserIsAdmin session variable.

relies on fix to meteor's handlebars evaluator in 0.4.2.
2012-09-27 23:33:08 -07:00

21 lines
392 B
HTML

<template name="comment_page">
<div class="post grid comment-page">
{{#if postLoaded}}
{{#with post}}
{{> post_item}}
{{/with}}
{{/if}}
{{#if comment}}
{{#with comment}}
<ul class="selected-comment">
{{> comment_item}}
</ul>
{{/with}}
{{/if}}
{{#if currentUser}}
{{> comment_form}}
{{/if}}
</div>
</template>