Vulcan/client/views/posts/modules/post_admin.html
Steffen Strätz e7e1accc79 - Added view counting for posts
- 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)
2014-10-15 21:23:43 +02:00

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>