diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-05-03 16:13:48 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-05-04 15:01:44 +0200 |
commit | 7f979fd8aa76bd930d601d33b61eae39b8f5d90d (patch) | |
tree | d6c3f04ac40d5030d45792fcdc42cdcf4a44bf76 /client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html | |
parent | 0d3a2982a9b29bd66a05e4b36e606518d4c09959 (diff) | |
download | PeerTube-7f979fd8aa76bd930d601d33b61eae39b8f5d90d.tar.gz PeerTube-7f979fd8aa76bd930d601d33b61eae39b8f5d90d.tar.zst PeerTube-7f979fd8aa76bd930d601d33b61eae39b8f5d90d.zip |
Reduce createdAt column size by using short date format
Diffstat (limited to 'client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html')
-rw-r--r-- | client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html b/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html index d1098800b..aecdca387 100644 --- a/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html +++ b/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html | |||
@@ -22,7 +22,7 @@ | |||
22 | <ng-template pTemplate="header"> | 22 | <ng-template pTemplate="header"> |
23 | <tr> | 23 | <tr> |
24 | <th style="width: 100%;" i18n>Instance</th> | 24 | <th style="width: 100%;" i18n>Instance</th> |
25 | <th style="width: 190px;" i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th> | 25 | <th style="width: 140px;" i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th> |
26 | <th style="width: 100px;"></th> <!-- column for action buttons --> | 26 | <th style="width: 100px;"></th> <!-- column for action buttons --> |
27 | </tr> | 27 | </tr> |
28 | </ng-template> | 28 | </ng-template> |
@@ -35,7 +35,7 @@ | |||
35 | <span class="glyphicon glyphicon-new-window"></span> | 35 | <span class="glyphicon glyphicon-new-window"></span> |
36 | </a> | 36 | </a> |
37 | </td> | 37 | </td> |
38 | <td>{{ serverBlock.createdAt }}</td> | 38 | <td>{{ serverBlock.createdAt | date: 'short' }}</td> |
39 | <td class="action-cell"> | 39 | <td class="action-cell"> |
40 | <button class="unblock-button" (click)="unblockServer(serverBlock)" i18n>Unmute</button> | 40 | <button class="unblock-button" (click)="unblockServer(serverBlock)" i18n>Unmute</button> |
41 | </td> | 41 | </td> |