diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-05 16:56:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-05 17:02:10 +0200 |
commit | 79bd2632d62f2f600d663815fcc00a01ca981aa1 (patch) | |
tree | 2a6b5df65fdd6025dda16cf7cd743c4530c63bf6 /client/src/app/shared/moderation/user-moderation-dropdown.component.html | |
parent | e724fa93c71d76d709e819a05e5e2904a3c4205b (diff) | |
download | PeerTube-79bd2632d62f2f600d663815fcc00a01ca981aa1.tar.gz PeerTube-79bd2632d62f2f600d663815fcc00a01ca981aa1.tar.zst PeerTube-79bd2632d62f2f600d663815fcc00a01ca981aa1.zip |
Add user moderation in the account page
Diffstat (limited to 'client/src/app/shared/moderation/user-moderation-dropdown.component.html')
-rw-r--r-- | client/src/app/shared/moderation/user-moderation-dropdown.component.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/shared/moderation/user-moderation-dropdown.component.html b/client/src/app/shared/moderation/user-moderation-dropdown.component.html index ed8a4dc66..ed1a4c863 100644 --- a/client/src/app/shared/moderation/user-moderation-dropdown.component.html +++ b/client/src/app/shared/moderation/user-moderation-dropdown.component.html | |||
@@ -1,3 +1,5 @@ | |||
1 | <my-user-ban-modal #userBanModal (userBanned)="onUserBanned()"></my-user-ban-modal> | 1 | <ng-container *ngIf="user && userActions.length !== 0"> |
2 | <my-user-ban-modal #userBanModal (userBanned)="onUserBanned()"></my-user-ban-modal> | ||
2 | 3 | ||
3 | <my-action-dropdown i18n-label label="Actions" [actions]="userActions" [entry]="user"></my-action-dropdown> \ No newline at end of file | 4 | <my-action-dropdown i18n-label label="Actions" [actions]="userActions" [entry]="user" [buttonSize]="buttonSize"></my-action-dropdown> |
5 | </ng-container> \ No newline at end of file | ||