Vulcan/client/views/posts/modules/post_info.html

11 lines
398 B
HTML
Raw Normal View History

2014-09-12 18:53:49 +09:00
<template name="postInfo">
2014-09-16 11:51:13 +09:00
<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>