]>
Commit | Line | Data |
---|---|---|
3a0fb65c | 1 | <div class="margin-content"> |
017c3dca | 2 | <div class="videos-header"> |
c9e3565d | 3 | <h1 *ngIf="titlePage" class="title-page title-page-single"> |
9b4b15f9 AB |
4 | <div placement="bottom" [ngbTooltip]="titleTooltip" container="body"> |
5 | {{ titlePage }} | |
6 | </div> | |
c9e3565d | 7 | </h1> |
9b4b15f9 | 8 | |
2d011d94 RK |
9 | <div class="action-block"> |
10 | <my-feed *ngIf="titlePage" [syndicationItems]="syndicationItems"></my-feed> | |
13adf228 | 11 | <a [routerLink]="action.routerLink" routerLinkActive="active" *ngFor="let action of actions"> |
2b587cad | 12 | <my-button [icon]="action.iconName" [label]="action.label"></my-button> |
13adf228 RK |
13 | </a> |
14 | </div> | |
017c3dca C |
15 | |
16 | <div class="moderation-block" *ngIf="displayModerationBlock"> | |
ea7337cf | 17 | <div class="c-hand" ngbDropdown placement="bottom-right auto"> |
2b587cad RK |
18 | <my-global-icon iconName="cog" ngbDropdownToggle></my-global-icon> |
19 | ||
20 | <div role="menu" class="dropdown-menu" ngbDropdownMenu> | |
21 | <div class="dropdown-item"> | |
22 | <my-peertube-checkbox | |
23 | (change)="toggleModerationDisplay()" | |
24 | inputName="display-unlisted-private" i18n-labelText labelText="Display unlisted and private videos" | |
25 | ></my-peertube-checkbox> | |
26 | </div> | |
27 | </div> | |
28 | </div> | |
017c3dca | 29 | </div> |
c30745f3 | 30 | </div> |
cf20596c | 31 | |
e6122097 | 32 | <div class="no-results" i18n *ngIf="hasDoneFirstQuery && videos.length === 0">No results.</div> |
c30745f3 | 33 | <div |
ad453580 | 34 | myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" [dataObservable]="onDataSubject.asObservable()" |
489290b8 | 35 | class="videos" |
bddab65a | 36 | > |
34c7f429 | 37 | <ng-container *ngFor="let video of videos; trackBy: videoById;"> |
c9e3565d | 38 | <h2 class="date-title" *ngIf="getCurrentGroupedDateLabel(video)"> |
34c7f429 | 39 | {{ getCurrentGroupedDateLabel(video) }} |
c9e3565d | 40 | </h2> |
34c7f429 | 41 | |
cf78883c C |
42 | <div class="video-wrapper"> |
43 | <my-video-miniature | |
44 | [fitWidth]="true" | |
5c20a455 | 45 | [video]="video" [user]="userMiniature" [ownerDisplayType]="ownerDisplayType" |
cf78883c C |
46 | [displayVideoActions]="displayVideoActions" [displayOptions]="displayOptions" |
47 | (videoBlocked)="removeVideoFromArray(video)" (videoRemoved)="removeVideoFromArray(video)" | |
48 | > | |
49 | </my-video-miniature> | |
50 | </div> | |
34c7f429 | 51 | </ng-container> |
c30745f3 | 52 | </div> |
32294074 | 53 | </div> |