aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/follows
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-05-03 16:13:48 +0200
committerRigel Kent <par@rigelk.eu>2020-05-04 15:01:44 +0200
commit7f979fd8aa76bd930d601d33b61eae39b8f5d90d (patch)
treed6c3f04ac40d5030d45792fcdc42cdcf4a44bf76 /client/src/app/+admin/follows
parent0d3a2982a9b29bd66a05e4b36e606518d4c09959 (diff)
downloadPeerTube-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/follows')
-rw-r--r--client/src/app/+admin/follows/followers-list/followers-list.component.html4
-rw-r--r--client/src/app/+admin/follows/following-list/following-list.component.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.html b/client/src/app/+admin/follows/followers-list/followers-list.component.html
index 41f557510..a3be5961b 100644
--- a/client/src/app/+admin/follows/followers-list/followers-list.component.html
+++ b/client/src/app/+admin/follows/followers-list/followers-list.component.html
@@ -18,7 +18,7 @@
18 <th i18n>Follower handle</th> 18 <th i18n>Follower handle</th>
19 <th style="width: 100px;" i18n pSortableColumn="state">State <p-sortIcon field="state"></p-sortIcon></th> 19 <th style="width: 100px;" i18n pSortableColumn="state">State <p-sortIcon field="state"></p-sortIcon></th>
20 <th style="width: 100px;" i18n pSortableColumn="score">Score <p-sortIcon field="score"></p-sortIcon></th> 20 <th style="width: 100px;" i18n pSortableColumn="score">Score <p-sortIcon field="score"></p-sortIcon></th>
21 <th style="width: 200px;" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> 21 <th style="width: 140px;" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
22 <th style="width: 100px;"></th> 22 <th style="width: 100px;"></th>
23 </tr> 23 </tr>
24 </ng-template> 24 </ng-template>
@@ -31,7 +31,7 @@
31 <td *ngIf="follow.state === 'pending'" i18n>Pending</td> 31 <td *ngIf="follow.state === 'pending'" i18n>Pending</td>
32 32
33 <td>{{ follow.score }}</td> 33 <td>{{ follow.score }}</td>
34 <td>{{ follow.createdAt }}</td> 34 <td>{{ follow.createdAt | date: 'short' }}</td>
35 35
36 <td class="action-cell"> 36 <td class="action-cell">
37 <ng-container *ngIf="follow.state === 'pending'"> 37 <ng-container *ngIf="follow.state === 'pending'">
diff --git a/client/src/app/+admin/follows/following-list/following-list.component.html b/client/src/app/+admin/follows/following-list/following-list.component.html
index 5fb0f4900..4c232e29d 100644
--- a/client/src/app/+admin/follows/following-list/following-list.component.html
+++ b/client/src/app/+admin/follows/following-list/following-list.component.html
@@ -23,7 +23,7 @@
23 <tr> 23 <tr>
24 <th i18n>Host</th> 24 <th i18n>Host</th>
25 <th style="width: 100px;" i18n pSortableColumn="state">State <p-sortIcon field="state"></p-sortIcon></th> 25 <th style="width: 100px;" i18n pSortableColumn="state">State <p-sortIcon field="state"></p-sortIcon></th>
26 <th style="width: 200px;" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> 26 <th style="width: 140px;" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
27 <th style="width: 160px;" i18n pSortableColumn="redundancyAllowed">Redundancy allowed <p-sortIcon field="redundancyAllowed"></p-sortIcon></th> 27 <th style="width: 160px;" i18n pSortableColumn="redundancyAllowed">Redundancy allowed <p-sortIcon field="redundancyAllowed"></p-sortIcon></th>
28 <th style="width: 100px;"></th> 28 <th style="width: 100px;"></th>
29 </tr> 29 </tr>
@@ -41,7 +41,7 @@
41 <td *ngIf="follow.state === 'accepted'" i18n>Accepted</td> 41 <td *ngIf="follow.state === 'accepted'" i18n>Accepted</td>
42 <td *ngIf="follow.state === 'pending'" i18n>Pending</td> 42 <td *ngIf="follow.state === 'pending'" i18n>Pending</td>
43 43
44 <td>{{ follow.createdAt }}</td> 44 <td>{{ follow.createdAt | date: 'short' }}</td>
45 <td> 45 <td>
46 <my-redundancy-checkbox 46 <my-redundancy-checkbox
47 [host]="follow.following.host" [redundancyAllowed]="follow.following.hostRedundancyAllowed" 47 [host]="follow.following.host" [redundancyAllowed]="follow.following.hostRedundancyAllowed"