mirror of https://github.com/Chocobozzz/PeerTube
32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
<div [ngClass]="{ 'margin-content': marginContent }">
|
|
<div class="videos-header">
|
|
<div *ngIf="titlePage" class="title-page title-page-single">
|
|
<div placement="bottom" [ngbTooltip]="titleTooltip" container="body">
|
|
{{ titlePage }}
|
|
</div>
|
|
</div>
|
|
|
|
<my-feed [syndicationItems]="syndicationItems"></my-feed>
|
|
|
|
<div class="moderation-block" *ngIf="displayModerationBlock">
|
|
<my-peertube-checkbox
|
|
(change)="toggleModerationDisplay()"
|
|
inputName="display-unlisted-private" i18n-labelText labelText="Display unlisted and private videos"
|
|
>
|
|
</my-peertube-checkbox>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="no-results" i18n *ngIf="pagination.totalItems === 0">No results.</div>
|
|
<div
|
|
myInfiniteScroller
|
|
[pageHeight]="pageHeight" [firstLoadedPage]="firstLoadedPage"
|
|
(nearOfTop)="onNearOfTop()" (nearOfBottom)="onNearOfBottom()" (pageChanged)="onPageChanged($event)"
|
|
class="videos" #videosElement
|
|
>
|
|
<div *ngFor="let videos of videoPages; trackBy: pageByVideoId" class="videos-page">
|
|
<my-video-miniature *ngFor="let video of videos; trackBy: videoById" [video]="video" [user]="user" [ownerDisplayType]="ownerDisplayType"></my-video-miniature>
|
|
</div>
|
|
</div>
|
|
</div>
|