diff options
Diffstat (limited to 'js/views/templates/chatview_comment.handlebars')
-rw-r--r-- | js/views/templates/chatview_comment.handlebars | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/views/templates/chatview_comment.handlebars b/js/views/templates/chatview_comment.handlebars new file mode 100644 index 000000000..ef9d345b9 --- /dev/null +++ b/js/views/templates/chatview_comment.handlebars @@ -0,0 +1,10 @@ +<li class="comment{{#if isNotSystemMessage}}{{else}} systemMessage{{/if}}" data-id="{{id}}"> + <div class="authorRow{{#if isUserAuthor}} currentUser{{/if}}{{#if isGuest}} guestUser{{/if}}"> + {{#if isNotSystemMessage}} + <div class="avatar" data-user-id="{{#if isGuest}}{{else}}{{actorId}}{{/if}}" data-user-display-name="{{actorDisplayName}}"></div> + <div class="author">{{actorDisplayName}}</div> + {{/if}} + <div class="date has-tooltip{{#if relativeDate}} live-relative-timestamp{{/if}}" data-timestamp="{{timestamp}}" title="{{altDate}}">{{date}}</div> + </div> + <div class="message">{{{formattedMessage}}}</div> +</li> |