Add no result text if there are no results
[oweals/peertube.git] / client / src / app / shared / video / abstract-video-list.html
1 <div class="margin-content">
2   <div class="title-page title-page-single">
3     {{ titlePage }}
4   </div>
5
6   <div *ngIf="pagination.totalItems === 0">No results.</div>
7
8   <div
9     class="videos"
10     infiniteScroll
11     [infiniteScrollUpDistance]="1.5"
12     [infiniteScrollDistance]="0.5"
13     (scrolled)="onNearOfBottom()"
14     (scrolledUp)="onNearOfTop()"
15   >
16     <my-video-miniature
17       class="ng-animate"
18       *ngFor="let video of videos" [video]="video" [user]="user"
19     >
20     </my-video-miniature>
21   </div>
22 </div>