aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/src/templates/comment.handlebars
blob: c1a1091a4e0c61df4669f6b9e4a5dfb47b0c15d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>