aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
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
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')
-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
-rw-r--r--client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html4
-rw-r--r--client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html4
-rw-r--r--client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html4
-rw-r--r--client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html6
6 files changed, 13 insertions, 13 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"
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>
diff --git a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html
index b55b18333..cf5cd58f8 100644
--- a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html
+++ b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html
@@ -42,7 +42,7 @@
42 <th style="width: 40px;"></th> 42 <th style="width: 40px;"></th>
43 <th style="width: 20%;" pResizableColumn i18n>Reporter</th> 43 <th style="width: 20%;" pResizableColumn i18n>Reporter</th>
44 <th i18n>Video</th> 44 <th i18n>Video</th>
45 <th style="width: 190px;" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> 45 <th style="width: 140px;" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
46 <th i18n pSortableColumn="state" style="width: 80px;">State <p-sortIcon field="state"></p-sortIcon></th> 46 <th i18n pSortableColumn="state" style="width: 80px;">State <p-sortIcon field="state"></p-sortIcon></th>
47 <th style="width: 120px;"></th> 47 <th style="width: 120px;"></th>
48 </tr> 48 </tr>
@@ -112,7 +112,7 @@
112 </div> 112 </div>
113 </td> 113 </td>
114 114
115 <td class="c-hand" [pRowToggler]="videoAbuse">{{ videoAbuse.createdAt }}</td> 115 <td class="c-hand" [pRowToggler]="videoAbuse">{{ videoAbuse.createdAt | date: 'short' }}</td>
116 116
117 <td class="c-hand video-abuse-states" [pRowToggler]="videoAbuse"> 117 <td class="c-hand video-abuse-states" [pRowToggler]="videoAbuse">
118 <span *ngIf="isVideoAbuseAccepted(videoAbuse)" [title]="videoAbuse.state.label" class="glyphicon glyphicon-ok"></span> 118 <span *ngIf="isVideoAbuseAccepted(videoAbuse)" [title]="videoAbuse.state.label" class="glyphicon glyphicon-ok"></span>
diff --git a/client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html b/client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html
index 5eabcb37f..f0e83dae9 100644
--- a/client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html
+++ b/client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html
@@ -21,7 +21,7 @@
21 <th i18n pSortableColumn="name">Video <p-sortIcon field="name"></p-sortIcon></th> 21 <th i18n pSortableColumn="name">Video <p-sortIcon field="name"></p-sortIcon></th>
22 <th style="width: 100px;" i18n>Sensitive</th> 22 <th style="width: 100px;" i18n>Sensitive</th>
23 <th style="width: 120px;" i18n>Unfederated</th> 23 <th style="width: 120px;" i18n>Unfederated</th>
24 <th style="width: 190px;" i18n pSortableColumn="createdAt">Date <p-sortIcon field="createdAt"></p-sortIcon></th> 24 <th style="width: 140px;" i18n pSortableColumn="createdAt">Date <p-sortIcon field="createdAt"></p-sortIcon></th>
25 <th style="width: 120px;"></th> 25 <th style="width: 120px;"></th>
26 </tr> 26 </tr>
27 </ng-template> 27 </ng-template>
@@ -55,12 +55,12 @@
55 <ng-container *ngIf="videoBlacklist.reason"> 55 <ng-container *ngIf="videoBlacklist.reason">
56 <td class="c-hand" [pRowToggler]="videoBlacklist">{{ booleanToText(videoBlacklist.video.nsfw) }}</td> 56 <td class="c-hand" [pRowToggler]="videoBlacklist">{{ booleanToText(videoBlacklist.video.nsfw) }}</td>
57 <td class="c-hand" [pRowToggler]="videoBlacklist">{{ booleanToText(videoBlacklist.unfederated) }}</td> 57 <td class="c-hand" [pRowToggler]="videoBlacklist">{{ booleanToText(videoBlacklist.unfederated) }}</td>
58 <td class="c-hand" [pRowToggler]="videoBlacklist">{{ videoBlacklist.createdAt }}</td> 58 <td class="c-hand" [pRowToggler]="videoBlacklist">{{ videoBlacklist.createdAt | date: 'short' }}</td>
59 </ng-container> 59 </ng-container>
60 <ng-container *ngIf="!videoBlacklist.reason"> 60 <ng-container *ngIf="!videoBlacklist.reason">
61 <td>{{ booleanToText(videoBlacklist.video.nsfw) }}</td> 61 <td>{{ booleanToText(videoBlacklist.video.nsfw) }}</td>
62 <td>{{ booleanToText(videoBlacklist.unfederated) }}</td> 62 <td>{{ booleanToText(videoBlacklist.unfederated) }}</td>
63 <td>{{ videoBlacklist.createdAt }}</td> 63 <td>{{ videoBlacklist.createdAt | date: 'short' }}</td>
64 </ng-container> 64 </ng-container>
65 65
66 <td class="action-cell"> 66 <td class="action-cell">