Added absolute timestamp hints where necessary

This commit is contained in:
Marcin Kurczewski
2014-11-27 10:34:45 +01:00
parent f1647a5f7b
commit 2fd371b10a
12 changed files with 31 additions and 10 deletions

View File

@ -103,6 +103,7 @@ App.Presenters.CommentListPresenter = function(
var $item = jQuery('<li>' + templates.commentListItem({
comment: comment,
formatRelativeTime: util.formatRelativeTime,
formatAbsoluteTime: util.formatAbsoluteTime,
formatMarkdown: util.formatMarkdown,
canVote: auth.isLoggedIn(),
canEditComment: auth.isLoggedIn(comment.user.name) ? privileges.canEditOwnComments : privileges.canEditAllComments,