diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-07-02 16:30:33 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-06 15:08:58 +0200 |
commit | 71ab65d02f359000f9ca6a00f163d66d56a33955 (patch) | |
tree | 0fb0460b05b90f151a8a24f1dc3a82c6c5697546 /client/src/app/shared/shared-abuse-list/abuse-details.component.html | |
parent | a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e (diff) | |
download | PeerTube-71ab65d02f359000f9ca6a00f163d66d56a33955.tar.gz PeerTube-71ab65d02f359000f9ca6a00f163d66d56a33955.tar.zst PeerTube-71ab65d02f359000f9ca6a00f163d66d56a33955.zip |
decouple video abuse details from embed, add embed to block list details
Diffstat (limited to 'client/src/app/shared/shared-abuse-list/abuse-details.component.html')
-rw-r--r-- | client/src/app/shared/shared-abuse-list/abuse-details.component.html | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/client/src/app/shared/shared-abuse-list/abuse-details.component.html b/client/src/app/shared/shared-abuse-list/abuse-details.component.html index 431fdf5aa..fb8366f4c 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-details.component.html +++ b/client/src/app/shared/shared-abuse-list/abuse-details.component.html | |||
@@ -96,12 +96,8 @@ | |||
96 | <!-- report right part (video/comment details) --> | 96 | <!-- report right part (video/comment details) --> |
97 | <div class="col-4"> | 97 | <div class="col-4"> |
98 | <div *ngIf="abuse.video" class="screenratio"> | 98 | <div *ngIf="abuse.video" class="screenratio"> |
99 | <div> | 99 | <div *ngIf="abuse.video.deleted" i18n>The video was deleted</div> |
100 | <span i18n *ngIf="abuse.video.deleted">The video was deleted</span> | 100 | <div *ngIf="!abuse.video.deleted" [innerHTML]="abuse.embedHtml"></div> |
101 | <span i18n *ngIf="!abuse.video.deleted">The video was blocked</span> | ||
102 | </div> | ||
103 | |||
104 | <div *ngIf="!abuse.video.deleted && !abuse.video.blacklisted" [innerHTML]="abuse.embedHtml"></div> | ||
105 | </div> | 101 | </div> |
106 | 102 | ||
107 | <div *ngIf="abuse.comment" class="comment-html"> | 103 | <div *ngIf="abuse.comment" class="comment-html"> |