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 | |
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')
2 files changed, 4 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 ffc8a8e39..99b4e267c 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 | |||
@@ -18,7 +18,7 @@ | |||
18 | <ng-template pTemplate="header"> | 18 | <ng-template pTemplate="header"> |
19 | <tr> | 19 | <tr> |
20 | <th style="width: 100%;" i18n>Account</th> | 20 | <th style="width: 100%;" i18n>Account</th> |
21 | <th style="width: 190px;" i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th> | 21 | <th style="width: 140px;" i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th> |
22 | <th style="width: 100px;"></th> <!-- column for action buttons --> | 22 | <th style="width: 100px;"></th> <!-- column for action buttons --> |
23 | </tr> | 23 | </tr> |
24 | </ng-template> | 24 | </ng-template> |
@@ -42,7 +42,7 @@ | |||
42 | </a> | 42 | </a> |
43 | </td> | 43 | </td> |
44 | 44 | ||
45 | <td>{{ accountBlock.createdAt }}</td> | 45 | <td>{{ accountBlock.createdAt | date: 'short' }}</td> |
46 | <td class="action-cell"> | 46 | <td class="action-cell"> |
47 | <button class="unblock-button" (click)="unblockAccount(accountBlock)" i18n>Unmute</button> | 47 | <button class="unblock-button" (click)="unblockAccount(accountBlock)" i18n>Unmute</button> |
48 | </td> | 48 | </td> |
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> |