aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-abuse-list
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-26 10:27:02 +0200
committerChocobozzz <me@florianbigard.com>2023-05-26 10:27:02 +0200
commit4b70c278a960a8d43407f0039aa03d0b08b44f9c (patch)
treed82990de9c1075dc5357f5f2f03162381f1e2c87 /client/src/app/shared/shared-abuse-list
parenta4c49a17ea8b90c1522a9d0868de7186c7432592 (diff)
downloadPeerTube-4b70c278a960a8d43407f0039aa03d0b08b44f9c.tar.gz
PeerTube-4b70c278a960a8d43407f0039aa03d0b08b44f9c.tar.zst
PeerTube-4b70c278a960a8d43407f0039aa03d0b08b44f9c.zip
Automatic colspan for tables
Diffstat (limited to 'client/src/app/shared/shared-abuse-list')
-rw-r--r--client/src/app/shared/shared-abuse-list/abuse-list-table.component.html6
1 files changed, 3 insertions, 3 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 2571cc952..5833e3465 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
@@ -136,10 +136,10 @@
136 136
137 <ng-template pTemplate="rowexpansion" let-abuse> 137 <ng-template pTemplate="rowexpansion" let-abuse>
138 <tr> 138 <tr>
139 <td *ngIf="isAdminView()" class="expand-cell" colspan="8"> 139 <td *ngIf="isAdminView()" class="expand-cell" myAutoColspan>
140 <my-abuse-details [abuse]="abuse" [isAdminView]="true"></my-abuse-details> 140 <my-abuse-details [abuse]="abuse" [isAdminView]="true"></my-abuse-details>
141 </td> 141 </td>
142 <td *ngIf="!isAdminView()" class="expand-cell" colspan="6"> 142 <td *ngIf="!isAdminView()" class="expand-cell" myAutoColspan>
143 <my-abuse-details [abuse]="abuse" [isAdminView]="false"></my-abuse-details> 143 <my-abuse-details [abuse]="abuse" [isAdminView]="false"></my-abuse-details>
144 </td> 144 </td>
145 </tr> 145 </tr>
@@ -147,7 +147,7 @@
147 147
148 <ng-template pTemplate="emptymessage"> 148 <ng-template pTemplate="emptymessage">
149 <tr> 149 <tr>
150 <td colspan="6"> 150 <td myAutoColspan>
151 <div class="no-results"> 151 <div class="no-results">
152 <ng-container *ngIf="search" i18n>No abuses found matching current filters.</ng-container> 152 <ng-container *ngIf="search" i18n>No abuses found matching current filters.</ng-container>
153 <ng-container *ngIf="!search" i18n>No abuses found.</ng-container> 153 <ng-container *ngIf="!search" i18n>No abuses found.</ng-container>