|
|
@ -4,7 +4,10 @@ mixin renderCommentReview (comment) |
|
|
|
header.uk-comment-header |
|
|
|
div(uk-grid).uk-grid-medium.uk-flex-middle |
|
|
|
.uk-width-auto |
|
|
|
img(src="/img/default-member.png").site-profile-picture.sb-small.uk-comment-avatar |
|
|
|
if comment.author.picture.small |
|
|
|
img(src= `/image/${comment.author.picture.small._id}`).site-profile-picture.sb-small.uk-comment-avatar |
|
|
|
else |
|
|
|
img(src="/img/default-member.png").site-profile-picture.sb-small.uk-comment-avatar |
|
|
|
.uk-width-expand |
|
|
|
h4.uk-comment-title.uk-margin-remove= comment.author.displayName || comment.author.username |
|
|
|
.uk-comment-meta= moment(comment.created).fromNow() |
|
|
|