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 | 11 |
1 files changed, 5 insertions, 6 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 552c9f02d..a654e51a6 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 | |||
@@ -24,22 +24,25 @@ | |||
24 | <ng-template pTemplate="header"> | 24 | <ng-template pTemplate="header"> |
25 | <tr> | 25 | <tr> |
26 | <th style="width: 40px;"></th> | 26 | <th style="width: 40px;"></th> |
27 | <th style="width: 150px;">Action</th> | ||
27 | <th style="width: 160px;" i18n *ngIf="isDisplayingRemoteVideos()">Strategy</th> | 28 | <th style="width: 160px;" i18n *ngIf="isDisplayingRemoteVideos()">Strategy</th> |
28 | <th i18n pSortableColumn="name">Video <p-sortIcon field="name"></p-sortIcon></th > | 29 | <th i18n pSortableColumn="name">Video <p-sortIcon field="name"></p-sortIcon></th > |
29 | <th style="width: 100px;" i18n *ngIf="isDisplayingRemoteVideos()">Total size</th> | 30 | <th style="width: 100px;" i18n *ngIf="isDisplayingRemoteVideos()">Total size</th> |
30 | <th style="width: 150px;"></th> | ||
31 | </tr> | 31 | </tr> |
32 | </ng-template> | 32 | </ng-template> |
33 | 33 | ||
34 | <ng-template pTemplate="body" let-expanded="expanded" let-redundancy> | 34 | <ng-template pTemplate="body" let-expanded="expanded" let-redundancy> |
35 | <tr> | 35 | <tr> |
36 | |||
37 | <td> | 36 | <td> |
38 | <span class="expander" i18n-ngbTooltip ngbTooltip="List redundancies" [pRowToggler]="redundancy"> | 37 | <span class="expander" i18n-ngbTooltip ngbTooltip="List redundancies" [pRowToggler]="redundancy"> |
39 | <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> | 38 | <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> |
40 | </span> | 39 | </span> |
41 | </td> | 40 | </td> |
42 | 41 | ||
42 | <td class="action-cell"> | ||
43 | <my-delete-button label (click)="removeRedundancy(redundancy)"></my-delete-button> | ||
44 | </td> | ||
45 | |||
43 | <td *ngIf="isDisplayingRemoteVideos()">{{ getRedundancyStrategy(redundancy) }}</td> | 46 | <td *ngIf="isDisplayingRemoteVideos()">{{ getRedundancyStrategy(redundancy) }}</td> |
44 | 47 | ||
45 | <td> | 48 | <td> |
@@ -50,10 +53,6 @@ | |||
50 | </td> | 53 | </td> |
51 | 54 | ||
52 | <td *ngIf="isDisplayingRemoteVideos()">{{ getTotalSize(redundancy) | bytes: 1 }}</td> | 55 | <td *ngIf="isDisplayingRemoteVideos()">{{ getTotalSize(redundancy) | bytes: 1 }}</td> |
53 | |||
54 | <td class="action-cell"> | ||
55 | <my-delete-button (click)="removeRedundancy(redundancy)"></my-delete-button> | ||
56 | </td> | ||
57 | </tr> | 56 | </tr> |
58 | </ng-template> | 57 | </ng-template> |
59 | 58 | ||