diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-21 11:08:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-21 11:09:46 +0100 |
commit | 6e33bf2882162d8760f55bcafb12fd9507e09ff1 (patch) | |
tree | 8f01090b84b38f4e96d97d5cc5cdee66adb563c5 /client/src/app/videos/+video-watch/video-watch.component.html | |
parent | e91890011e100b677d35598e2feec7c6252e89bf (diff) | |
download | PeerTube-6e33bf2882162d8760f55bcafb12fd9507e09ff1.tar.gz PeerTube-6e33bf2882162d8760f55bcafb12fd9507e09ff1.tar.zst PeerTube-6e33bf2882162d8760f55bcafb12fd9507e09ff1.zip |
Add no result text if there are no results
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.html | 12 |
1 files changed, 8 insertions, 4 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 d9b572430..860edecd2 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -13,12 +13,16 @@ | |||
13 | <div class="video-info-name">{{ video.name }}</div> | 13 | <div class="video-info-name">{{ video.name }}</div> |
14 | 14 | ||
15 | <div class="video-info-actions"> | 15 | <div class="video-info-actions"> |
16 | <div *ngIf="isUserLoggedIn()" [ngClass]="{ 'activated': userRating === 'like' }" class="action-button"> | 16 | <div |
17 | <span class="icon icon-like" title="Like this video" (click)="setLike()"></span> | 17 | *ngIf="isUserLoggedIn()" [ngClass]="{ 'activated': userRating === 'like' }" (click)="setLike()" |
18 | class="action-button action-button-like"> | ||
19 | <span class="icon icon-like" title="Like this video" ></span> | ||
18 | </div> | 20 | </div> |
19 | 21 | ||
20 | <div *ngIf="isUserLoggedIn()" [ngClass]="{ 'activated': userRating === 'dislike' }" class="action-button"> | 22 | <div |
21 | <span class="icon icon-dislike" title="Dislike this video" (click)="setDislike()"></span> | 23 | *ngIf="isUserLoggedIn()" [ngClass]="{ 'activated': userRating === 'dislike' }" (click)="setDislike()" |
24 | class="action-button action-button-dislike"> | ||
25 | <span class="icon icon-dislike" title="Dislike this video"></span> | ||
22 | </div> | 26 | </div> |
23 | 27 | ||
24 | <div (click)="showShareModal()" class="action-button"> | 28 | <div (click)="showShareModal()" class="action-button"> |