aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorkimsible <kimsible@users.noreply.github.com>2020-08-07 18:12:44 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-14 15:03:38 +0200
commitc311596094d6e2bad4f6215250dfc0c819d30b15 (patch)
tree901bb88adc76a59cf7e8543a5b1fc2aac265a4ec /client/src/app/+videos
parent45ae994a442dd21ed630bef95d56559f8cc6029c (diff)
downloadPeerTube-c311596094d6e2bad4f6215250dfc0c819d30b15.tar.gz
PeerTube-c311596094d6e2bad4f6215250dfc0c819d30b15.tar.zst
PeerTube-c311596094d6e2bad4f6215250dfc0c819d30b15.zip
Add icons to dropdown actions (report, remove and remove & re-draft)
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-watch/comment/video-comment.component.ts9
1 files changed, 6 insertions, 3 deletions
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 c2964d370..8473350be 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 {
154 154
155 if (this.isReportableByUser()) { 155 if (this.isReportableByUser()) {
156 this.prependModerationActions.push({ 156 this.prependModerationActions.push({
157 label: $localize`Report comment`, 157 label: $localize`Report`,
158 iconName: 'flag',
158 handler: () => this.showReportModal() 159 handler: () => this.showReportModal()
159 }) 160 })
160 } 161 }
161 162
162 if (this.isRemovableByUser()) { 163 if (this.isRemovableByUser()) {
163 this.prependModerationActions.push({ 164 this.prependModerationActions.push({
164 label: $localize`Remove comment`, 165 label: $localize`Remove`,
166 iconName: 'delete',
165 handler: () => this.onWantToDelete() 167 handler: () => this.onWantToDelete()
166 }) 168 })
167 } 169 }
168 170
169 if (this.isRedraftableByUser()) { 171 if (this.isRedraftableByUser()) {
170 this.prependModerationActions.push({ 172 this.prependModerationActions.push({
171 label: $localize`Remove & re-draft comment`, 173 label: $localize`Remove & re-draft`,
174 iconName: 'edit',
172 handler: () => this.onWantToRedraft() 175 handler: () => this.onWantToRedraft()
173 }) 176 })
174 } 177 }