]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/video/abstract-video-list.html
Skip videos count on client if we don't use it
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / abstract-video-list.html
CommitLineData
3a0fb65c 1<div class="margin-content">
017c3dca
C
2 <div class="videos-header">
3 <div *ngIf="titlePage" class="title-page title-page-single">
9b4b15f9
AB
4 <div placement="bottom" [ngbTooltip]="titleTooltip" container="body">
5 {{ titlePage }}
6 </div>
13adf228 7 <my-feed *ngIf="titlePage" [syndicationItems]="syndicationItems"></my-feed>
017c3dca 8 </div>
9b4b15f9 9
13adf228
RK
10 <div class="action-block" *ngIf="actions.length > 0">
11 <a [routerLink]="action.routerLink" routerLinkActive="active" *ngFor="let action of actions">
12 <button class="btn">
13 <my-global-icon [iconName]="action.iconName"></my-global-icon>
14 <span i18n>{{ action.label }}</span>
15 </button>
16 </a>
17 </div>
017c3dca
C
18
19 <div class="moderation-block" *ngIf="displayModerationBlock">
20 <my-peertube-checkbox
21 (change)="toggleModerationDisplay()"
3a0fb65c 22 inputName="display-unlisted-private" i18n-labelText labelText="Display unlisted and private videos"
017c3dca
C
23 >
24 </my-peertube-checkbox>
25 </div>
c30745f3 26 </div>
cf20596c 27
2d3741d6 28 <div class="no-results" i18n *ngIf="pagination.totalItems === 0">No results.</div>
c30745f3 29 <div
ad453580 30 myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" [dataObservable]="onDataSubject.asObservable()"
489290b8 31 class="videos"
bddab65a 32 >
34c7f429
C
33 <ng-container *ngFor="let video of videos; trackBy: videoById;">
34 <div class="date-title" *ngIf="getCurrentGroupedDateLabel(video)">
35 {{ getCurrentGroupedDateLabel(video) }}
36 </div>
37
34c7f429
C
38 <my-video-miniature
39 [video]="video" [user]="user" [ownerDisplayType]="ownerDisplayType"
40 [displayVideoActions]="displayVideoActions" [displayOptions]="displayOptions"
41 (videoBlacklisted)="removeVideoFromArray(video)" (videoRemoved)="removeVideoFromArray(video)"
42 >
43 </my-video-miniature>
44 </ng-container>
c30745f3 45 </div>
32294074 46</div>