aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/moderation/video-block-list/video-block-list.component.html16
-rw-r--r--client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html16
-rw-r--r--client/src/app/+admin/users/user-list/user-list.component.html2
3 files changed, 17 insertions, 17 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
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
diff --git a/client/src/app/+admin/users/user-list/user-list.component.html b/client/src/app/+admin/users/user-list/user-list.component.html
index 003fbd323..63144502c 100644
--- a/client/src/app/+admin/users/user-list/user-list.component.html
+++ b/client/src/app/+admin/users/user-list/user-list.component.html
@@ -86,7 +86,7 @@
86 <ng-template pTemplate="body" let-expanded="expanded" let-user> 86 <ng-template pTemplate="body" let-expanded="expanded" let-user>
87 87
88 <tr [pSelectableRow]="user" [ngClass]="{ banned: highlightBannedUsers && user.blocked }"> 88 <tr [pSelectableRow]="user" [ngClass]="{ banned: highlightBannedUsers && user.blocked }">
89 <td> 89 <td class="checkbox-cell">
90 <p-tableCheckbox [value]="user"></p-tableCheckbox> 90 <p-tableCheckbox [value]="user"></p-tableCheckbox>
91 </td> 91 </td>
92 92