diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-06-07 13:17:31 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2021-06-07 13:17:31 +0200 |
commit | fd1b2d695320be5d86456c939b371b2e9b4f457b (patch) | |
tree | a03b34953b23889297e0bae66d16878c8ac4edbc /client/src | |
parent | c756bae079e02873f6433582ca14a092fec0db27 (diff) | |
download | PeerTube-fd1b2d695320be5d86456c939b371b2e9b4f457b.tar.gz PeerTube-fd1b2d695320be5d86456c939b371b2e9b4f457b.tar.zst PeerTube-fd1b2d695320be5d86456c939b371b2e9b4f457b.zip |
fix colspan for user view of reports
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/shared-abuse-list/abuse-list-table.component.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html index b1c065c7a..4bf83316b 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html +++ b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html | |||
@@ -150,8 +150,11 @@ | |||
150 | 150 | ||
151 | <ng-template pTemplate="rowexpansion" let-abuse> | 151 | <ng-template pTemplate="rowexpansion" let-abuse> |
152 | <tr> | 152 | <tr> |
153 | <td class="expand-cell" colspan="8"> | 153 | <td *ngIf="isAdminView()" class="expand-cell" colspan="8"> |
154 | <my-abuse-details [abuse]="abuse" [isAdminView]="isAdminView()"></my-abuse-details> | 154 | <my-abuse-details [abuse]="abuse" [isAdminView]="true"></my-abuse-details> |
155 | </td> | ||
156 | <td *ngIf="!isAdminView()" class="expand-cell" colspan="6"> | ||
157 | <my-abuse-details [abuse]="abuse" [isAdminView]="false"></my-abuse-details> | ||
155 | </td> | 158 | </td> |
156 | </tr> | 159 | </tr> |
157 | </ng-template> | 160 | </ng-template> |