diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-26 20:40:03 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-26 20:40:03 +0200 |
commit | 157cb9c9713e08ff70078660a32dd77ecb87eabc (patch) | |
tree | 4a9066f820be014fcbddf582fd6b92bdb006dccf /client/angular/videos/components/list/videos-list.component.html | |
parent | a99593ed9f3244e75f7db793ba6716754d664573 (diff) | |
download | PeerTube-157cb9c9713e08ff70078660a32dd77ecb87eabc.tar.gz PeerTube-157cb9c9713e08ff70078660a32dd77ecb87eabc.tar.zst PeerTube-157cb9c9713e08ff70078660a32dd77ecb87eabc.zip |
Add a loader animation when loading the videos list
Diffstat (limited to 'client/angular/videos/components/list/videos-list.component.html')
-rw-r--r-- | client/angular/videos/components/list/videos-list.component.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/angular/videos/components/list/videos-list.component.html b/client/angular/videos/components/list/videos-list.component.html index 3e30b39b0..edbbaf3ae 100644 --- a/client/angular/videos/components/list/videos-list.component.html +++ b/client/angular/videos/components/list/videos-list.component.html | |||
@@ -4,7 +4,9 @@ | |||
4 | </div> | 4 | </div> |
5 | 5 | ||
6 | <div class="videos-miniatures"> | 6 | <div class="videos-miniatures"> |
7 | <div *ngIf="videos.length === 0">There is no video.</div> | 7 | <my-loader [loading]="loading"></my-loader> |
8 | |||
9 | <div class="col-md-12 no-video" *ngIf="!loading && videos.length === 0">There is no video.</div> | ||
8 | 10 | ||
9 | <my-video-miniature *ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)"> | 11 | <my-video-miniature *ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)"> |
10 | </my-video-miniature> | 12 | </my-video-miniature> |