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-comment-list | |
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-comment-list')
-rw-r--r-- | client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html index 45c5fe28f..5c932739b 100644 --- a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html +++ b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html | |||
@@ -43,11 +43,11 @@ | |||
43 | <ng-template pTemplate="header"> | 43 | <ng-template pTemplate="header"> |
44 | <tr> | 44 | <tr> |
45 | <th style="width: 40px"></th> | 45 | <th style="width: 40px"></th> |
46 | <th style="width: 150px;"></th> | ||
46 | <th style="width: 300px" i18n>Account</th> | 47 | <th style="width: 300px" i18n>Account</th> |
47 | <th style="width: 300px" i18n>Video</th> | 48 | <th style="width: 300px" i18n>Video</th> |
48 | <th i18n>Comment</th> | 49 | <th i18n>Comment</th> |
49 | <th style="width: 150px;" i18n pSortableColumn="createdAt">Date <p-sortIcon field="createdAt"></p-sortIcon></th> | 50 | <th style="width: 150px;" i18n pSortableColumn="createdAt">Date <p-sortIcon field="createdAt"></p-sortIcon></th> |
50 | <th style="width: 150px;"></th> | ||
51 | </tr> | 51 | </tr> |
52 | </ng-template> | 52 | </ng-template> |
53 | 53 | ||
@@ -59,6 +59,13 @@ | |||
59 | </span> | 59 | </span> |
60 | </td> | 60 | </td> |
61 | 61 | ||
62 | <td class="action-cell"> | ||
63 | <my-action-dropdown | ||
64 | [ngClass]="{ 'show': expanded }" placement="bottom-right" container="body" | ||
65 | i18n-label label="Actions" [actions]="videoCommentActions" [entry]="videoComment" | ||
66 | ></my-action-dropdown> | ||
67 | </td> | ||
68 | |||
62 | <td> | 69 | <td> |
63 | <a [href]="videoComment.account.localUrl" i18n-title title="Open account in a new tab" target="_blank" rel="noopener noreferrer"> | 70 | <a [href]="videoComment.account.localUrl" i18n-title title="Open account in a new tab" target="_blank" rel="noopener noreferrer"> |
64 | <div class="chip two-lines"> | 71 | <div class="chip two-lines"> |
@@ -86,13 +93,6 @@ | |||
86 | </td> | 93 | </td> |
87 | 94 | ||
88 | <td>{{ videoComment.createdAt | date: 'short' }}</td> | 95 | <td>{{ videoComment.createdAt | date: 'short' }}</td> |
89 | |||
90 | <td class="action-cell"> | ||
91 | <my-action-dropdown | ||
92 | [ngClass]="{ 'show': expanded }" placement="bottom-right" container="body" | ||
93 | i18n-label label="Actions" [actions]="videoCommentActions" [entry]="videoComment" | ||
94 | ></my-action-dropdown> | ||
95 | </td> | ||
96 | </tr> | 96 | </tr> |
97 | </ng-template> | 97 | </ng-template> |
98 | 98 | ||