diff options
Diffstat (limited to 'client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html')
-rw-r--r-- | client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html b/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html index 486785f35..f461ef31b 100644 --- a/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html +++ b/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html | |||
@@ -19,14 +19,18 @@ | |||
19 | 19 | ||
20 | <ng-template pTemplate="header"> | 20 | <ng-template pTemplate="header"> |
21 | <tr> | 21 | <tr> |
22 | <th style="width: 150px;">Action</th> <!-- column for action buttons --> | ||
22 | <th style="width: 100%;" i18n>Account</th> | 23 | <th style="width: 100%;" i18n>Account</th> |
23 | <th style="width: 150px;" i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th> | 24 | <th style="width: 150px;" i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th> |
24 | <th style="width: 150px;"></th> <!-- column for action buttons --> | ||
25 | </tr> | 25 | </tr> |
26 | </ng-template> | 26 | </ng-template> |
27 | 27 | ||
28 | <ng-template pTemplate="body" let-accountBlock> | 28 | <ng-template pTemplate="body" let-accountBlock> |
29 | <tr> | 29 | <tr> |
30 | <td class="action-cell"> | ||
31 | <button class="unblock-button" (click)="unblockAccount(accountBlock)" i18n>Unmute</button> | ||
32 | </td> | ||
33 | |||
30 | <td> | 34 | <td> |
31 | <a [href]="accountBlock.blockedAccount.url" i18n-title title="Open account in a new tab" target="_blank" rel="noopener noreferrer"> | 35 | <a [href]="accountBlock.blockedAccount.url" i18n-title title="Open account in a new tab" target="_blank" rel="noopener noreferrer"> |
32 | <div class="chip two-lines"> | 36 | <div class="chip two-lines"> |
@@ -45,9 +49,6 @@ | |||
45 | </td> | 49 | </td> |
46 | 50 | ||
47 | <td>{{ accountBlock.createdAt | date: 'short' }}</td> | 51 | <td>{{ accountBlock.createdAt | date: 'short' }}</td> |
48 | <td class="action-cell"> | ||
49 | <button class="unblock-button" (click)="unblockAccount(accountBlock)" i18n>Unmute</button> | ||
50 | </td> | ||
51 | </tr> | 52 | </tr> |
52 | </ng-template> | 53 | </ng-template> |
53 | 54 | ||