diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-16 14:26:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-16 14:26:50 +0100 |
commit | 7706b3703aeb2bea686b12089959b963a7dd89f4 (patch) | |
tree | f0b42ccf01563de7ee7e936c3716ab7a8e149a38 /client/src/app/+admin/moderation/video-block-list/video-block-list.component.html | |
parent | 9be63f123e23d9622b5250511cf8f21e463c3ee5 (diff) | |
download | PeerTube-7706b3703aeb2bea686b12089959b963a7dd89f4.tar.gz PeerTube-7706b3703aeb2bea686b12089959b963a7dd89f4.tar.zst PeerTube-7706b3703aeb2bea686b12089959b963a7dd89f4.zip |
Put admin actions on the left
Diffstat (limited to 'client/src/app/+admin/moderation/video-block-list/video-block-list.component.html')
-rw-r--r-- | client/src/app/+admin/moderation/video-block-list/video-block-list.component.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html index d39aacb76..96293ae5e 100644 --- a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html +++ b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html | |||
@@ -39,11 +39,11 @@ | |||
39 | <ng-template pTemplate="header"> | 39 | <ng-template pTemplate="header"> |
40 | <tr> | 40 | <tr> |
41 | <th style="width: 40px"></th> | 41 | <th style="width: 40px"></th> |
42 | <th style="width: 150px;"></th> | ||
42 | <th i18n pSortableColumn="name">Video <p-sortIcon field="name"></p-sortIcon></th> | 43 | <th i18n pSortableColumn="name">Video <p-sortIcon field="name"></p-sortIcon></th> |
43 | <th style="width: 100px;" i18n>Sensitive</th> | 44 | <th style="width: 100px;" i18n>Sensitive</th> |
44 | <th style="width: 120px;" i18n>Unfederated</th> | 45 | <th style="width: 120px;" i18n>Unfederated</th> |
45 | <th style="width: 150px;" i18n pSortableColumn="createdAt">Date <p-sortIcon field="createdAt"></p-sortIcon></th> | 46 | <th style="width: 150px;" i18n pSortableColumn="createdAt">Date <p-sortIcon field="createdAt"></p-sortIcon></th> |
46 | <th style="width: 150px;"></th> | ||
47 | </tr> | 47 | </tr> |
48 | </ng-template> | 48 | </ng-template> |
49 | 49 | ||
@@ -56,6 +56,13 @@ | |||
56 | </span> | 56 | </span> |
57 | </td> | 57 | </td> |
58 | 58 | ||
59 | <td class="action-cell"> | ||
60 | <my-action-dropdown | ||
61 | [ngClass]="{ 'show': expanded }" placement="bottom-right" container="body" | ||
62 | i18n-label label="Actions" [actions]="videoBlocklistActions" [entry]="videoBlock" | ||
63 | ></my-action-dropdown> | ||
64 | </td> | ||
65 | |||
59 | <td> | 66 | <td> |
60 | <a [href]="getVideoUrl(videoBlock)" class="table-video-link" [title]="videoBlock.video.name" target="_blank" rel="noopener noreferrer"> | 67 | <a [href]="getVideoUrl(videoBlock)" class="table-video-link" [title]="videoBlock.video.name" target="_blank" rel="noopener noreferrer"> |
61 | <div class="table-video"> | 68 | <div class="table-video"> |
@@ -83,13 +90,6 @@ | |||
83 | <td>{{ booleanToText(videoBlock.unfederated) }}</td> | 90 | <td>{{ booleanToText(videoBlock.unfederated) }}</td> |
84 | <td>{{ videoBlock.createdAt | date: 'short' }}</td> | 91 | <td>{{ videoBlock.createdAt | date: 'short' }}</td> |
85 | </ng-container> | 92 | </ng-container> |
86 | |||
87 | <td class="action-cell"> | ||
88 | <my-action-dropdown | ||
89 | [ngClass]="{ 'show': expanded }" placement="bottom-right" container="body" | ||
90 | i18n-label label="Actions" [actions]="videoBlocklistActions" [entry]="videoBlock" | ||
91 | ></my-action-dropdown> | ||
92 | </td> | ||
93 | </tr> | 93 | </tr> |
94 | </ng-template> | 94 | </ng-template> |
95 | 95 | ||