1
0
Fork 0
peertube/client/src/app/shared/shared-video-miniature/abstract-video-list.html

54 lines
2.1 KiB
HTML
Raw Normal View History

2019-04-05 08:52:27 +00:00
<div class="margin-content">
<div class="videos-header">
<h1 *ngIf="titlePage" class="title-page title-page-single">
<div placement="bottom" [ngbTooltip]="titleTooltip" container="body">
{{ titlePage }}
</div>
</h1>
2020-07-02 14:25:16 +00:00
<div class="action-block">
<my-feed *ngIf="titlePage" [syndicationItems]="syndicationItems"></my-feed>
<a [routerLink]="action.routerLink" routerLinkActive="active" *ngFor="let action of actions">
<my-button [icon]="action.iconName" [label]="action.label"></my-button>
</a>
</div>
<div class="moderation-block" *ngIf="displayModerationBlock">
<div class="c-hand" ngbDropdown placement="bottom-right auto">
<my-global-icon iconName="cog" ngbDropdownToggle></my-global-icon>
<div role="menu" class="dropdown-menu" ngbDropdownMenu>
<div class="dropdown-item">
<my-peertube-checkbox
(change)="toggleModerationDisplay()"
inputName="display-unlisted-private" i18n-labelText labelText="Display all videos (private, unlisted or not yet published)"
></my-peertube-checkbox>
</div>
</div>
</div>
</div>
2017-12-01 16:38:26 +00:00
</div>
2016-05-23 09:07:42 +00:00
<div class="no-results" i18n *ngIf="hasDoneFirstQuery && videos.length === 0">No results.</div>
2017-12-01 16:38:26 +00:00
<div
2019-08-02 12:49:25 +00:00
myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" [dataObservable]="onDataSubject.asObservable()"
2019-03-21 15:49:46 +00:00
class="videos"
2016-07-18 13:39:10 +00:00
>
2019-05-31 09:14:38 +00:00
<ng-container *ngFor="let video of videos; trackBy: videoById;">
<h2 class="date-title" *ngIf="getCurrentGroupedDateLabel(video)">
2019-05-31 09:14:38 +00:00
{{ getCurrentGroupedDateLabel(video) }}
</h2>
2019-05-31 09:14:38 +00:00
2020-06-11 12:33:33 +00:00
<div class="video-wrapper">
<my-video-miniature
[fitWidth]="true"
2020-06-16 09:00:35 +00:00
[video]="video" [user]="userMiniature" [ownerDisplayType]="ownerDisplayType"
2020-06-11 12:33:33 +00:00
[displayVideoActions]="displayVideoActions" [displayOptions]="displayOptions"
(videoBlocked)="removeVideoFromArray(video)" (videoRemoved)="removeVideoFromArray(video)"
>
</my-video-miniature>
</div>
2019-05-31 09:14:38 +00:00
</ng-container>
2017-12-01 16:38:26 +00:00
</div>
2016-05-22 08:43:06 +00:00
</div>