aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.html')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index 5b2e91bc5..58b2382f0 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -58,19 +58,21 @@
58 <div class="video-actions-rates"> 58 <div class="video-actions-rates">
59 <div class="video-actions fullWidth justify-content-end"> 59 <div class="video-actions fullWidth justify-content-end">
60 <div 60 <div
61 *ngIf="isUserLoggedIn()" [ngClass]="{ 'activated': userRating === 'like' }" (click)="setLike()" 61 [ngbPopover]="getRatePopoverText()" [ngClass]="{ 'activated': userRating === 'like' }" (click)="setLike()"
62 class="action-button action-button-like" role="button" [attr.aria-pressed]="userRating === 'like'" 62 class="action-button action-button-like" role="button" [attr.aria-pressed]="userRating === 'like'"
63 i18n-title title="Like this video" 63 i18n-title title="Like this video"
64 > 64 >
65 <my-global-icon iconName="like"></my-global-icon> 65 <my-global-icon iconName="like"></my-global-icon>
66 <span *ngIf="video.likes" class="count">{{ video.likes }}</span>
66 </div> 67 </div>
67 68
68 <div 69 <div
69 *ngIf="isUserLoggedIn()" [ngClass]="{ 'activated': userRating === 'dislike' }" (click)="setDislike()" 70 [ngbPopover]="getRatePopoverText()" [ngClass]="{ 'activated': userRating === 'dislike' }" (click)="setDislike()"
70 class="action-button action-button-dislike" role="button" [attr.aria-pressed]="userRating === 'dislike'" 71 class="action-button action-button-dislike" role="button" [attr.aria-pressed]="userRating === 'dislike'"
71 i18n-title title="Dislike this video" 72 i18n-title title="Dislike this video"
72 > 73 >
73 <my-global-icon iconName="dislike"></my-global-icon> 74 <my-global-icon iconName="dislike"></my-global-icon>
75 <span *ngIf="video.dislikes" class="count">{{ video.dislikes }}</span>
74 </div> 76 </div>
75 77
76 <div *ngIf="video.support" (click)="showSupportModal()" class="action-button action-button-support"> 78 <div *ngIf="video.support" (click)="showSupportModal()" class="action-button action-button-support">