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/video-abuse-list/video-abuse-list.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/video-abuse-list/video-abuse-list.component.html')
-rw-r--r-- | client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
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> |