Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add icons to dropdown actions (report, remove and remove & re-draft)

kimsiblec311596094d6
diff --git a/client/src/app/+videos/+video-watch/comment/video-comment.component.ts b/client/src/app/+videos/+video-watch/comment/video-comment.component.ts
index c2964d3702..8473350be2 100644
--- a/client/src/app/+videos/+video-watch/comment/video-comment.component.ts
+++ b/client/src/app/+videos/+video-watch/comment/video-comment.component.ts
@@ -154,21 +154,24 @@ export class VideoCommentComponent implements OnInit, OnChanges {
if (this.isReportableByUser()) {
this.prependModerationActions.push({
- label: $localize`Report comment`,
+ label: $localize`Report`,
+ iconName: 'flag',
handler: () => this.showReportModal()
})
}
if (this.isRemovableByUser()) {
this.prependModerationActions.push({
- label: $localize`Remove comment`,
+ label: $localize`Remove`,
+ iconName: 'delete',
handler: () => this.onWantToDelete()
})
}
if (this.isRedraftableByUser()) {
this.prependModerationActions.push({
- label: $localize`Remove & re-draft comment`,
+ label: $localize`Remove & re-draft`,
+ iconName: 'edit',
handler: () => this.onWantToRedraft()
})
}