aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html')
-rw-r--r--client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html75
1 files changed, 1 insertions, 74 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 bf73f9169..2e7b60e2f 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
@@ -133,80 +133,7 @@
133 <ng-template pTemplate="rowexpansion" let-videoAbuse> 133 <ng-template pTemplate="rowexpansion" let-videoAbuse>
134 <tr> 134 <tr>
135 <td class="expand-cell" colspan="6"> 135 <td class="expand-cell" colspan="6">
136 <div class="d-flex moderation-expanded"> 136 <my-video-abuse-details [videoAbuse]="videoAbuse"></my-video-abuse-details>
137 <!-- report left part (report details) -->
138 <div class="col-8">
139
140 <!-- report metadata -->
141 <div class="d-flex">
142 <span class="col-3 moderation-expanded-label" i18n>Reporter</span>
143 <span class="col-9 moderation-expanded-text">
144 <a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reporter:&quot;' + videoAbuse.reporterAccount.displayName + '&quot;' }" class="chip">
145 <img
146 class="avatar"
147 [src]="videoAbuse.reporterAccount.avatar.path"
148 (error)="switchToDefaultAvatar($event)"
149 alt="Avatar"
150 >
151 <div>
152 <span class="text-muted">{{ createByString(videoAbuse.reporterAccount) }}</span>
153 </div>
154 </a>
155 <a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reportee:&quot;' + videoAbuse.reporterAccount.displayName + '&quot;' }" class="ml-auto text-muted video-details-links" i18n>
156 {videoAbuse.countReportsForReporter, plural, =1 {1 report} other {{{ videoAbuse.countReportsForReporter }} reports}}<span class="ml-1 glyphicon glyphicon-flag"></span>
157 </a>
158 </span>
159 </div>
160
161 <div class="d-flex">
162 <span class="col-3 moderation-expanded-label" i18n>Reportee</span>
163 <span class="col-9 moderation-expanded-text">
164 <div class="chip">
165 <img
166 class="avatar"
167 [src]="videoAbuse.video.channel.ownerAccount?.avatar.path"
168 (error)="switchToDefaultAvatar($event)"
169 alt="Avatar"
170 >
171 <div>
172 <span class="text-muted">{{ videoAbuse.video.channel.ownerAccount ? createByString(videoAbuse.video.channel.ownerAccount) : '' }}</span>
173 </div>
174 </div>
175 <a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reportee:&quot;' +videoAbuse.video.channel.ownerAccount.displayName + '&quot;' }" class="ml-auto text-muted video-details-links" i18n>
176 {videoAbuse.countReportsForReportee, plural, =1 {1 report} other {{{ videoAbuse.countReportsForReportee }} reports}}<span class="ml-1 glyphicon glyphicon-flag"></span>
177 </a>
178 </span>
179 </div>
180
181 <div class="d-flex">
182 <span class="col-3 moderation-expanded-label" i18n>Updated</span>
183 <time class="col-9 moderation-expanded-text video-details-date-updated">{{ videoAbuse.updatedAt | date: 'medium' }}</time>
184 </div>
185
186 <!-- report text -->
187 <div class="mt-3 d-flex">
188 <span class="col-3 moderation-expanded-label" i18n>Report #{{ videoAbuse.id }}</span>
189 <span class="col-9 moderation-expanded-text" [innerHTML]="videoAbuse.reasonHtml"></span>
190 </div>
191
192 <div class="mt-3 d-flex" *ngIf="videoAbuse.moderationComment">
193 <span class="col-3 moderation-expanded-label" i18n>Note</span>
194 <span class="col-9 moderation-expanded-text" [innerHTML]="videoAbuse.moderationCommentHtml"></span>
195 </div>
196
197 </div>
198
199 <!-- report right part (video details) -->
200 <div class="col-4">
201 <div class="screenratio">
202 <div *ngIf="videoAbuse.video.deleted || videoAbuse.video.blacklisted">
203 <span i18n *ngIf="videoAbuse.video.deleted">The video was deleted</span>
204 <span i18n *ngIf="!videoAbuse.video.deleted">The video was blacklisted</span>
205 </div>
206 <div *ngIf="!videoAbuse.video.deleted && !videoAbuse.video.blacklisted" [innerHTML]="videoAbuse.embedHtml"></div>
207 </div>
208 </div>
209 </div>
210 </td> 137 </td>
211 </tr> 138 </tr>
212 </ng-template> 139 </ng-template>