diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-14 06:48:53 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-14 06:48:53 +0100 |
| commit | f9a0743696c5e21d81ae0e215e36358788e708df (patch) | |
| tree | 07bc648b9b4f16999caa669ed5faf40f92d0345f /public/assets/js/lib/views/details/comments.js | |
| parent | 54b4af27409fba0032faf4c8bed825ce2bc71cce (diff) | |
profile form
Diffstat (limited to 'public/assets/js/lib/views/details/comments.js')
| -rw-r--r-- | public/assets/js/lib/views/details/comments.js | 3 |
1 files changed, 2 insertions, 1 deletions
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]) |
