]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-video-miniature/videos-list.component.html
Fix notification on create transcoding job
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-miniature / videos-list.component.html
CommitLineData
3a0fb65c 1<div class="margin-content">
017c3dca 2 <div class="videos-header">
dd24f1bb
C
3 <h1 *ngIf="displayTitle" class="title" placement="bottom" [ngbTooltip]="titleTooltip" container="body">
4 {{ title }}
5 </h1>
9b4b15f9 6
dd24f1bb
C
7 <div *ngIf="syndicationItems" [ngClass]="{ 'no-title': !displayTitle }" class="title-subscription">
8 <ng-container i18n>Subscribe to RSS feed "{{ title }}"</ng-container>
9
10 <my-feed [syndicationItems]="syndicationItems"></my-feed>
11 </div>
205e4f56 12
dd24f1bb
C
13 <div class="action-block">
14 <ng-container *ngFor="let action of headerActions">
afff310e
RK
15 <a *ngIf="action.routerLink" class="ml-2" [routerLink]="action.routerLink" routerLinkActive="active">
16 <ng-container *ngTemplateOutlet="actionContent; context:{ $implicit: action }"></ng-container>
17 </a>
7af5ded4
C
18
19 <a *ngIf="!action.routerLink && !action.href && action.click" class="ml-2" (click)="action.click($event)" (key.enter)="action.click($event)">
afff310e
RK
20 <ng-container *ngTemplateOutlet="actionContent; context:{ $implicit: action }"></ng-container>
21 </a>
7af5ded4
C
22
23 <a *ngIf="!action.routerLink && action.href && action.click" class="ml-2" (click)="action.click($event)" (key.enter)="action.click($event)" [href]="action.href">
afff310e
RK
24 <ng-container *ngTemplateOutlet="actionContent; context:{ $implicit: action }"></ng-container>
25 </a>
26
27 <ng-template #actionContent let-action>
28 <my-button *ngIf="!action.justIcon" [icon]="action.iconName" [label]="action.label"></my-button>
29 <my-button *ngIf="action.justIcon" [icon]="action.iconName" [ngbTooltip]="action.label"></my-button>
30 </ng-template>
31 </ng-container>
13adf228 32 </div>
c30745f3 33 </div>
cf20596c 34
dd24f1bb 35 <my-video-filters-header
1b206245 36 *ngIf="displayFilters" [displayModerationBlock]="displayModerationBlock" [hideScope]="hideScopeFilter"
6d210220 37 [filters]="filters"
dd24f1bb
C
38 (filtersChanged)="onFiltersChanged(true)"
39 ></my-video-filters-header>
40
e6122097 41 <div class="no-results" i18n *ngIf="hasDoneFirstQuery && videos.length === 0">No results.</div>
c30745f3 42 <div
dd24f1bb
C
43 myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()" [setAngularState]="true"
44 class="videos" [ngClass]="{ 'display-as-row': displayAsRow }"
bddab65a 45 >
34c7f429 46 <ng-container *ngFor="let video of videos; trackBy: videoById;">
c9e3565d 47 <h2 class="date-title" *ngIf="getCurrentGroupedDateLabel(video)">
34c7f429 48 {{ getCurrentGroupedDateLabel(video) }}
c9e3565d 49 </h2>
34c7f429 50
cf78883c
C
51 <div class="video-wrapper">
52 <my-video-miniature
dd24f1bb 53 [video]="video" [user]="userMiniature" [displayAsRow]="displayAsRow"
cf78883c
C
54 [displayVideoActions]="displayVideoActions" [displayOptions]="displayOptions"
55 (videoBlocked)="removeVideoFromArray(video)" (videoRemoved)="removeVideoFromArray(video)"
56 >
57 </my-video-miniature>
58 </div>
34c7f429 59 </ng-container>
c30745f3 60 </div>
32294074 61</div>