From f9a0743696c5e21d81ae0e215e36358788e708df Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 14 Dec 2017 06:48:53 +0100 Subject: profile form --- public/assets/js/lib/views/details/comments.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'public/assets/js/lib/views/details/comments.js') diff --git a/public/assets/js/lib/views/details/comments.js b/public/assets/js/lib/views/details/comments.js index 4c217a4..0c2cdcc 100644 --- a/public/assets/js/lib/views/details/comments.js +++ b/public/assets/js/lib/views/details/comments.js @@ -27,7 +27,8 @@ var CommentsView = FormView.extend({ parse: function(comment){ if (! comment.comment.length) return $('') var datetime = verbose_date(comment.date, true) - var t = this.template.replace(/{{username}}/g, comment.username) + var t = this.template.replace(/{{image}}/g, profile_image(comment.username)) + .replace(/{{username}}/g, comment.username) .replace(/{{id}}/g, comment.id) .replace(/{{comment}}/g, tidy_urls(comment.comment)) .replace(/{{date}}/g, datetime[0]) -- cgit v1.2.3-70-g09d2