mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00

Switched everything over to use can.* functions from telescope-lib instead of using can* functions from lib/permissions.js, deleted lib/permissions.js, added some tests for permissions, and some other random cleanup like deleting unused code. Conflicts: client/views/comments/comment_form.js
10 lines
398 B
HTML
10 lines
398 B
HTML
<template name="postInfo">
|
|
<div class="post-meta-item">
|
|
<span class="points">{{baseScore}}</span>
|
|
<span class="unit">{{pointsUnitDisplayText}}</span>
|
|
{{#if postedAt}}<span class="post-time">{{timeAgo postedAt}}</span>{{/if}}
|
|
{{#if canEdit this}}
|
|
| <a href="{{pathFor route='post_edit' _id=_id}}" class="edit-link goto-edit">{{_ "edit"}}</a>
|
|
{{/if}}
|
|
</div>
|
|
</template>
|