diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-16 15:41:15 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-16 15:41:15 +0100 |
commit | c195975c546ecfb0e6228c43a9c855b8c3e09d63 (patch) | |
tree | bc171beddb6a10b7b5508967d023683674b77786 /client/src/app/+admin/moderation/video-block-list/video-block-list.component.html | |
parent | f0048d5edd6394a672c80332e9007413fbba57f5 (diff) | |
download | PeerTube-c195975c546ecfb0e6228c43a9c855b8c3e09d63.tar.gz PeerTube-c195975c546ecfb0e6228c43a9c855b8c3e09d63.tar.zst PeerTube-c195975c546ecfb0e6228c43a9c855b8c3e09d63.zip |
Use badge in video block list
Diffstat (limited to 'client/src/app/+admin/moderation/video-block-list/video-block-list.component.html')
-rw-r--r-- | client/src/app/+admin/moderation/video-block-list/video-block-list.component.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html index 7250b1368..c7275de1b 100644 --- a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html +++ b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html | |||
@@ -80,16 +80,17 @@ | |||
80 | </a> | 80 | </a> |
81 | </td> | 81 | </td> |
82 | 82 | ||
83 | <ng-container *ngIf="videoBlock.reason"> | 83 | <td> |
84 | <td class="c-hand" [pRowToggler]="videoBlock">{{ booleanToText(videoBlock.video.nsfw) }}</td> | 84 | <span *ngIf="videoBlock.video.nsfw" class="badge badge-red" i18n>NSFW</span> |
85 | <td class="c-hand" [pRowToggler]="videoBlock">{{ booleanToText(videoBlock.unfederated) }}</td> | 85 | </td> |
86 | <td class="c-hand" [pRowToggler]="videoBlock">{{ videoBlock.createdAt | date: 'short' }}</td> | 86 | |
87 | </ng-container> | 87 | <td> |
88 | <ng-container *ngIf="!videoBlock.reason"> | 88 | <span *ngIf="videoBlock.unfederated" class="badge badge-blue" i18n>Unfederated</span> |
89 | <td>{{ booleanToText(videoBlock.video.nsfw) }}</td> | 89 | </td> |
90 | <td>{{ booleanToText(videoBlock.unfederated) }}</td> | 90 | |
91 | <td>{{ videoBlock.createdAt | date: 'short' }}</td> | 91 | <td> |
92 | </ng-container> | 92 | {{ videoBlock.createdAt | date: 'short' }} |
93 | </td> | ||
93 | </tr> | 94 | </tr> |
94 | </ng-template> | 95 | </ng-template> |
95 | 96 | ||