summaryrefslogtreecommitdiffstats
path: root/apps/comments/js/templates/comment.handlebars
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/js/templates/comment.handlebars')
-rw-r--r--apps/comments/js/templates/comment.handlebars15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/comments/js/templates/comment.handlebars b/apps/comments/js/templates/comment.handlebars
new file mode 100644
index 00000000000..c1a1091a4e0
--- /dev/null
+++ b/apps/comments/js/templates/comment.handlebars
@@ -0,0 +1,15 @@
+<li class="comment{{#if isUnread}} unread{{/if}}{{#if isLong}} collapsed{{/if}}" data-id="{{id}}">
+ <div class="authorRow">
+ <div class="avatar{{#if isUserAuthor}} currentUser{{/if}}" {{#if actorId}}data-username="{{actorId}}"{{/if}}> </div>
+ <div class="author{{#if isUserAuthor}} currentUser{{/if}}">{{actorDisplayName}}</div>
+ {{#if isUserAuthor}}
+ <a href="#" class="action more icon icon-more has-tooltip"></a>
+ <div class="deleteLoading icon-loading-small hidden"></div>
+ {{/if}}
+ <div class="date has-tooltip live-relative-timestamp" data-timestamp="{{timestamp}}" title="{{altDate}}">{{date}}</div>
+ </div>
+ <div class="message">{{{formattedMessage}}}</div>
+ {{#if isLong}}
+ <div class="message-overlay"></div>
+ {{/if}}
+</li>