diff options
Diffstat (limited to 'client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html')
-rw-r--r-- | client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html index 80c66ec60..18d88c20c 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html | |||
@@ -1,6 +1,4 @@ | |||
1 | <div class="admin-sub-header"> | 1 | <div class="admin-sub-header"> |
2 | <div i18n class="form-sub-title">Video redundancies list</div> | ||
3 | |||
4 | <div class="select-filter-block"> | 2 | <div class="select-filter-block"> |
5 | <label for="displayType" i18n>Display</label> | 3 | <label for="displayType" i18n>Display</label> |
6 | 4 | ||
@@ -19,6 +17,7 @@ | |||
19 | > | 17 | > |
20 | <ng-template pTemplate="header"> | 18 | <ng-template pTemplate="header"> |
21 | <tr> | 19 | <tr> |
20 | <th style="width: 40px"></th> | ||
22 | <th i18n *ngIf="isDisplayingRemoteVideos()">Strategy</th> | 21 | <th i18n *ngIf="isDisplayingRemoteVideos()">Strategy</th> |
23 | <th i18n pSortableColumn="name">Video name <p-sortIcon field="name"></p-sortIcon></th> | 22 | <th i18n pSortableColumn="name">Video name <p-sortIcon field="name"></p-sortIcon></th> |
24 | <th i18n>Video URL</th> | 23 | <th i18n>Video URL</th> |
@@ -27,8 +26,15 @@ | |||
27 | </tr> | 26 | </tr> |
28 | </ng-template> | 27 | </ng-template> |
29 | 28 | ||
30 | <ng-template pTemplate="body" let-redundancy> | 29 | <ng-template pTemplate="body" let-expanded="expanded" let-redundancy> |
31 | <tr class="expander" [pRowToggler]="redundancy"> | 30 | <tr> |
31 | |||
32 | <td class="expand-cell"> | ||
33 | <span class="expander" i18n-ngbTooltip ngbTooltip="List redundancies" [pRowToggler]="redundancy"> | ||
34 | <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> | ||
35 | </span> | ||
36 | </td> | ||
37 | |||
32 | <td *ngIf="isDisplayingRemoteVideos()">{{ getRedundancyStrategy(redundancy) }}</td> | 38 | <td *ngIf="isDisplayingRemoteVideos()">{{ getRedundancyStrategy(redundancy) }}</td> |
33 | 39 | ||
34 | <td>{{ redundancy.name }}</td> | 40 | <td>{{ redundancy.name }}</td> |
@@ -46,16 +52,16 @@ | |||
46 | </ng-template> | 52 | </ng-template> |
47 | 53 | ||
48 | <ng-template pTemplate="rowexpansion" let-redundancy> | 54 | <ng-template pTemplate="rowexpansion" let-redundancy> |
49 | <tr> | 55 | <tr *ngIf="redundancy.redundancies.files.length !== 0"> |
50 | <td colspan="2"> | 56 | <td [attr.colspan]="getColspan()"> |
51 | <div *ngFor="let file of redundancy.redundancies.files" class="expansion-block"> | 57 | <div *ngFor="let file of redundancy.redundancies.files" class="expansion-block"> |
52 | <my-video-redundancy-information [redundancyElement]="file"></my-video-redundancy-information> | 58 | <my-video-redundancy-information [redundancyElement]="file"></my-video-redundancy-information> |
53 | </div> | 59 | </div> |
54 | </td> | 60 | </td> |
55 | </tr> | 61 | </tr> |
56 | 62 | ||
57 | <tr> | 63 | <tr *ngIf="redundancy.redundancies.streamingPlaylists.length !== 0"> |
58 | <td colspan="2"> | 64 | <td [attr.colspan]="getColspan()"> |
59 | <div *ngFor="let playlist of redundancy.redundancies.streamingPlaylists"> | 65 | <div *ngFor="let playlist of redundancy.redundancies.streamingPlaylists"> |
60 | <my-video-redundancy-information [redundancyElement]="playlist"></my-video-redundancy-information> | 66 | <my-video-redundancy-information [redundancyElement]="playlist"></my-video-redundancy-information> |
61 | </div> | 67 | </div> |