Add local/remote badges

pull/4548/head
Chocobozzz 2021-11-17 10:18:57 +01:00
parent 60d893cf82
commit 4bdff96d77
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 0 deletions

View File

@ -66,6 +66,9 @@
</td>
<td>
<span class="badge badge-blue" *ngIf="video.isLocal">Local</span>
<span class="badge badge-purple" *ngIf="!video.isLocal">Remote</span>
<span [ngClass]="getPrivacyBadgeClass(video)" class="badge">{{ video.privacy.label }}</span>
<span *ngIf="video.nsfw" class="badge badge-red" i18n>NSFW</span>