aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/buttons
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-16 17:18:55 +0200
committerRigel Kent <par@rigelk.eu>2020-05-01 16:41:02 +0200
commit9b4241e33bf46c4f0468565ce41ca7f810b2dbfa (patch)
tree729182ea775aa9103d5b1101236f6b65795f3f25 /client/src/app/shared/buttons
parent68d19a0ace01cb7a3550da420d27663e2db1b98d (diff)
downloadPeerTube-9b4241e33bf46c4f0468565ce41ca7f810b2dbfa.tar.gz
PeerTube-9b4241e33bf46c4f0468565ce41ca7f810b2dbfa.tar.zst
PeerTube-9b4241e33bf46c4f0468565ce41ca7f810b2dbfa.zip
Increase rows per page, add reporter muting for abuse list
Diffstat (limited to 'client/src/app/shared/buttons')
-rw-r--r--client/src/app/shared/buttons/action-dropdown.component.html2
-rw-r--r--client/src/app/shared/buttons/action-dropdown.component.ts1
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/buttons/action-dropdown.component.html b/client/src/app/shared/buttons/action-dropdown.component.html
index 0efc01d38..952b3b6f8 100644
--- a/client/src/app/shared/buttons/action-dropdown.component.html
+++ b/client/src/app/shared/buttons/action-dropdown.component.html
@@ -1,4 +1,4 @@
1<div class="dropdown-root" ngbDropdown [placement]="placement" container="body" *ngIf="areActionsDisplayed(actions, entry)"> 1<div class="dropdown-root" ngbDropdown [placement]="placement" [container]="container" *ngIf="areActionsDisplayed(actions, entry)">
2 <div 2 <div
3 class="action-button" [ngClass]="{ small: buttonSize === 'small', grey: theme === 'grey', orange: theme === 'orange', 'button-styled': buttonStyled }" 3 class="action-button" [ngClass]="{ small: buttonSize === 'small', grey: theme === 'grey', orange: theme === 'orange', 'button-styled': buttonStyled }"
4 ngbDropdownToggle role="button" 4 ngbDropdownToggle role="button"
diff --git a/client/src/app/shared/buttons/action-dropdown.component.ts b/client/src/app/shared/buttons/action-dropdown.component.ts
index 8fcaa38b9..15f9556dc 100644
--- a/client/src/app/shared/buttons/action-dropdown.component.ts
+++ b/client/src/app/shared/buttons/action-dropdown.component.ts
@@ -27,6 +27,7 @@ export class ActionDropdownComponent<T> {
27 @Input() entry: T 27 @Input() entry: T
28 28
29 @Input() placement = 'bottom-left auto' 29 @Input() placement = 'bottom-left auto'
30 @Input() container: null | 'body'
30 31
31 @Input() buttonSize: DropdownButtonSize = 'normal' 32 @Input() buttonSize: DropdownButtonSize = 'normal'
32 @Input() buttonDirection: DropdownDirection = 'horizontal' 33 @Input() buttonDirection: DropdownDirection = 'horizontal'