diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-28 16:05:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-28 16:05:38 +0200 |
commit | f0d4e7eb240f256b4f01cde4a1cd6f66f8f4347c (patch) | |
tree | 4adeddb187bc67cd2377181044d70d39d0a34466 /client/src | |
parent | 26fabbd6d4d5cb6c867d16ad6db6a8de0cf484ad (diff) | |
download | PeerTube-f0d4e7eb240f256b4f01cde4a1cd6f66f8f4347c.tar.gz PeerTube-f0d4e7eb240f256b4f01cde4a1cd6f66f8f4347c.tar.zst PeerTube-f0d4e7eb240f256b4f01cde4a1cd6f66f8f4347c.zip |
Move abuse state column at the end
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html | 12 | ||||
-rw-r--r-- | client/src/sass/primeng-custom.scss | 1 |
2 files changed, 7 insertions, 6 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 0d0f644dc..287ab3e46 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 | |||
@@ -5,10 +5,10 @@ | |||
5 | <ng-template pTemplate="header"> | 5 | <ng-template pTemplate="header"> |
6 | <tr> | 6 | <tr> |
7 | <th style="width: 40px"></th> | 7 | <th style="width: 40px"></th> |
8 | <th i18n pSortableColumn="state" style="width: 80px;">State <p-sortIcon field="state"></p-sortIcon></th> | ||
9 | <th i18n>Reporter</th> | 8 | <th i18n>Reporter</th> |
10 | <th i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> | 9 | <th i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> |
11 | <th i18n>Video</th> | 10 | <th i18n>Video</th> |
11 | <th i18n pSortableColumn="state" style="width: 80px;">State <p-sortIcon field="state"></p-sortIcon></th> | ||
12 | <th style="width: 50px;"></th> | 12 | <th style="width: 50px;"></th> |
13 | </tr> | 13 | </tr> |
14 | </ng-template> | 14 | </ng-template> |
@@ -22,11 +22,6 @@ | |||
22 | </td> | 22 | </td> |
23 | 23 | ||
24 | <td> | 24 | <td> |
25 | <span *ngIf="isVideoAbuseAccepted(videoAbuse)" [title]="videoAbuse.state.label" class="glyphicon glyphicon-ok"></span> | ||
26 | <span *ngIf="isVideoAbuseRejected(videoAbuse)" [title]="videoAbuse.state.label" class="glyphicon glyphicon-remove"></span> | ||
27 | </td> | ||
28 | |||
29 | <td> | ||
30 | <a [href]="videoAbuse.reporterAccount.url" i18n-title title="Go to the account" target="_blank" rel="noopener noreferrer"> | 25 | <a [href]="videoAbuse.reporterAccount.url" i18n-title title="Go to the account" target="_blank" rel="noopener noreferrer"> |
31 | {{ createByString(videoAbuse.reporterAccount) }} | 26 | {{ createByString(videoAbuse.reporterAccount) }} |
32 | </a> | 27 | </a> |
@@ -40,6 +35,11 @@ | |||
40 | </a> | 35 | </a> |
41 | </td> | 36 | </td> |
42 | 37 | ||
38 | <td> | ||
39 | <span *ngIf="isVideoAbuseAccepted(videoAbuse)" [title]="videoAbuse.state.label" class="glyphicon glyphicon-ok"></span> | ||
40 | <span *ngIf="isVideoAbuseRejected(videoAbuse)" [title]="videoAbuse.state.label" class="glyphicon glyphicon-remove"></span> | ||
41 | </td> | ||
42 | |||
43 | <td class="action-cell"> | 43 | <td class="action-cell"> |
44 | <my-action-dropdown i18n-label label="Actions" [actions]="videoAbuseActions" [entry]="videoAbuse"></my-action-dropdown> | 44 | <my-action-dropdown i18n-label label="Actions" [actions]="videoAbuseActions" [entry]="videoAbuse"></my-action-dropdown> |
45 | </td> | 45 | </td> |
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index 674aa649e..1ec5c7da2 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss | |||
@@ -84,6 +84,7 @@ p-table { | |||
84 | 84 | ||
85 | color: #000; | 85 | color: #000; |
86 | font-size: 11px; | 86 | font-size: 11px; |
87 | top: 0; | ||
87 | 88 | ||
88 | &.pi-sort-up { | 89 | &.pi-sort-up { |
89 | @extend .glyphicon-triangle-top; | 90 | @extend .glyphicon-triangle-top; |