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/+admin/moderation/video-block-list/video-block-list.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/+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 | 24 |
1 files changed, 18 insertions, 6 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 278e68a96..d39aacb76 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 | |||
@@ -57,12 +57,12 @@ | |||
57 | </td> | 57 | </td> |
58 | 58 | ||
59 | <td> | 59 | <td> |
60 | <a [href]="getVideoUrl(videoBlock)" class="video-table-video-link" [title]="videoBlock.video.name" target="_blank" rel="noopener noreferrer"> | 60 | <a [href]="getVideoUrl(videoBlock)" class="table-video-link" [title]="videoBlock.video.name" target="_blank" rel="noopener noreferrer"> |
61 | <div class="video-table-video"> | 61 | <div class="table-video"> |
62 | <div class="video-table-video-image"> | 62 | <div class="table-video-image"> |
63 | <img [src]="videoBlock.video.thumbnailPath"> | 63 | <img [src]="videoBlock.video.thumbnailPath"> |
64 | </div> | 64 | </div> |
65 | <div class="video-table-video-text"> | 65 | <div class="table-video-text"> |
66 | <div> | 66 | <div> |
67 | <my-global-icon i18n-title title="The video was blocked due to automatic blocking of new videos" *ngIf="videoBlock.type == 2" iconName="robot"></my-global-icon> | 67 | <my-global-icon i18n-title title="The video was blocked due to automatic blocking of new videos" *ngIf="videoBlock.type == 2" iconName="robot"></my-global-icon> |
68 | {{ videoBlock.video.name }} | 68 | {{ videoBlock.video.name }} |
@@ -97,8 +97,20 @@ | |||
97 | <tr> | 97 | <tr> |
98 | <td class="expand-cell" colspan="6"> | 98 | <td class="expand-cell" colspan="6"> |
99 | <div class="d-flex moderation-expanded"> | 99 | <div class="d-flex moderation-expanded"> |
100 | <span class="col-2 moderation-expanded-label" i18n>Block reason:</span> | 100 | |
101 | <span class="col-9 moderation-expanded-text" [innerHTML]="videoBlock.reasonHtml"></span> | 101 | <!-- block right part (block details) --> |
102 | <div class="col-8"> | ||
103 | <span class="col-3 moderation-expanded-label" i18n>Block reason:</span> | ||
104 | <span class="col-9 moderation-expanded-text" [innerHTML]="videoBlock.reasonHtml"></span> | ||
105 | </div> | ||
106 | |||
107 | <!-- block right part (video embed) --> | ||
108 | <div class="col-4"> | ||
109 | <div class="screenratio"> | ||
110 | <div [innerHTML]="videoBlock.embedHtml"></div> | ||
111 | </div> | ||
112 | </div> | ||
113 | |||
102 | </div> | 114 | </div> |
103 | </td> | 115 | </td> |
104 | </tr> | 116 | </tr> |