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

- Refactored click counting to match view counting - Renamed User "commentCount" to match Post "commentsCount" - Removed security issue in client side click counting (now calling server method instead)
15 lines
475 B
HTML
15 lines
475 B
HTML
<template name="postAdmin">
|
|
{{#if isAdmin}}
|
|
<div class="post-meta-item">
|
|
{{#if postsMustBeApproved}}
|
|
|
|
|
{{#if isApproved}}
|
|
<a href="#" class="unapprove-link goto-edit">Unapprove</a>
|
|
{{else}}
|
|
<a href="#" class="approve-link goto-edit">Approve</a>
|
|
{{/if}}
|
|
{{/if}}
|
|
| {{i18n "score"}}: {{shortScore}}, {{i18n "clicks"}}: {{clicksCount}}, {{i18n "views"}}: {{viewsCount}}
|
|
</div>
|
|
{{/if}}
|
|
</template>
|