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 | 6 |
1 files changed, 4 insertions, 2 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 e9c23929c..4f9597607 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 | |||
@@ -3,13 +3,14 @@ | |||
3 | 3 | ||
4 | <div class="comment"> | 4 | <div class="comment"> |
5 | <div class="comment-account-date"> | 5 | <div class="comment-account-date"> |
6 | <div class="comment-account">{{ comment.by }}</div> | 6 | <a target="_blank" [href]="comment.account.url" class="comment-account">{{ comment.by }}</a> |
7 | <div class="comment-date">{{ comment.createdAt | myFromNow }}</div> | 7 | <div class="comment-date">{{ comment.createdAt | myFromNow }}</div> |
8 | </div> | 8 | </div> |
9 | <div>{{ comment.text }}</div> | 9 | <div>{{ comment.text }}</div> |
10 | 10 | ||
11 | <div class="comment-actions"> | 11 | <div class="comment-actions"> |
12 | <div *ngIf="isUserLoggedIn()" (click)="onWantToReply()" class="comment-action-reply">Reply</div> | 12 | <div *ngIf="isUserLoggedIn()" (click)="onWantToReply()" class="comment-action-reply">Reply</div> |
13 | <div *ngIf="isRemovableByUser()" (click)="onWantToDelete()" class="comment-action-delete">Delete</div> | ||
13 | </div> | 14 | </div> |
14 | 15 | ||
15 | <my-video-comment-add | 16 | <my-video-comment-add |
@@ -28,7 +29,8 @@ | |||
28 | [video]="video" | 29 | [video]="video" |
29 | [inReplyToCommentId]="inReplyToCommentId" | 30 | [inReplyToCommentId]="inReplyToCommentId" |
30 | [commentTree]="commentChild" | 31 | [commentTree]="commentChild" |
31 | (wantedToReply)="onWantedToReply($event)" | 32 | (wantedToReply)="onWantToReply($event)" |
33 | (wantedToDelete)="onWantToDelete($event)" | ||
32 | (resetReply)="onResetReply()" | 34 | (resetReply)="onResetReply()" |
33 | ></my-video-comment> | 35 | ></my-video-comment> |
34 | </div> | 36 | </div> |