diff options
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comment.component.html')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment.component.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.html b/client/src/app/videos/+video-watch/comment/video-comment.component.html index 04bb1f7a2..df996533d 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.html | |||
@@ -23,7 +23,12 @@ | |||
23 | <a [routerLink]="['/videos/watch', video.uuid, { 'threadId': comment.threadId }]" | 23 | <a [routerLink]="['/videos/watch', video.uuid, { 'threadId': comment.threadId }]" |
24 | class="comment-date">{{ comment.createdAt | myFromNow }}</a> | 24 | class="comment-date">{{ comment.createdAt | myFromNow }}</a> |
25 | </div> | 25 | </div> |
26 | <div class="comment-html" [innerHTML]="sanitizedCommentHTML"></div> | 26 | <div |
27 | class="comment-html" | ||
28 | [innerHTML]="sanitizedCommentHTML" | ||
29 | (timestampClicked)="handleTimestampClicked($event)" | ||
30 | timestampRouteTransformer | ||
31 | ></div> | ||
27 | 32 | ||
28 | <div class="comment-actions"> | 33 | <div class="comment-actions"> |
29 | <div *ngIf="isUserLoggedIn()" (click)="onWantToReply()" class="comment-action-reply" i18n>Reply</div> | 34 | <div *ngIf="isUserLoggedIn()" (click)="onWantToReply()" class="comment-action-reply" i18n>Reply</div> |
@@ -65,6 +70,7 @@ | |||
65 | (wantedToReply)="onWantToReply($event)" | 70 | (wantedToReply)="onWantToReply($event)" |
66 | (wantedToDelete)="onWantToDelete($event)" | 71 | (wantedToDelete)="onWantToDelete($event)" |
67 | (resetReply)="onResetReply()" | 72 | (resetReply)="onResetReply()" |
73 | (timestampClicked)="handleTimestampClicked($event)" | ||
68 | ></my-video-comment> | 74 | ></my-video-comment> |
69 | </div> | 75 | </div> |
70 | </div> | 76 | </div> |