]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html
Reduce createdAt column size by using short date format
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / moderation / instance-blocklist / instance-server-blocklist.component.html
index d1098800bfdb421b2862bfcb7f638e6ee09065a8..aecdca38738bed234b6362c7f641bb1d9877ce83 100644 (file)
@@ -22,7 +22,7 @@
   <ng-template pTemplate="header">
     <tr>
       <th style="width: 100%;" i18n>Instance</th>
-      <th style="width: 190px;" i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th>
+      <th style="width: 140px;" i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th>
       <th style="width: 100px;"></th> <!-- column for action buttons -->
     </tr>
   </ng-template>
@@ -35,7 +35,7 @@
           <span class="glyphicon glyphicon-new-window"></span>
         </a>
       </td>
-      <td>{{ serverBlock.createdAt }}</td>
+      <td>{{ serverBlock.createdAt | date: 'short' }}</td>
       <td class="action-cell">
         <button class="unblock-button" (click)="unblockServer(serverBlock)" i18n>Unmute</button>
       </td>