mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00

* {{currentUser.isAdmin}} instead of custom helpers. * drop currentUserIsAdmin session variable. relies on fix to meteor's handlebars evaluator in 0.4.2.
21 lines
392 B
HTML
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>
|