diff options
author | Poslovitch <poslovitch@bentobox.world> | 2021-12-21 12:23:36 +0000 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-02-28 11:36:31 +0100 |
commit | 5a8de57d574045c5f819b8c81fb0530a9e9a699f (patch) | |
tree | a91bf1ab21b33d092864c2e2f9662d3e5f69c4c1 /client/src/app/shared/shared-moderation/user-ban-modal.component.html | |
parent | 0ff01f837b9a291fc6e93a736f7574b618ad0253 (diff) | |
download | PeerTube-5a8de57d574045c5f819b8c81fb0530a9e9a699f.tar.gz PeerTube-5a8de57d574045c5f819b8c81fb0530a9e9a699f.tar.zst PeerTube-5a8de57d574045c5f819b8c81fb0530a9e9a699f.zip |
Add ability to mute user when banning them
Implements https://github.com/Chocobozzz/PeerTube/issues/1803
Diffstat (limited to 'client/src/app/shared/shared-moderation/user-ban-modal.component.html')
-rw-r--r-- | client/src/app/shared/shared-moderation/user-ban-modal.component.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-moderation/user-ban-modal.component.html b/client/src/app/shared/shared-moderation/user-ban-modal.component.html index b41ae230d..6c83cc9cc 100644 --- a/client/src/app/shared/shared-moderation/user-ban-modal.component.html +++ b/client/src/app/shared/shared-moderation/user-ban-modal.component.html | |||
@@ -21,6 +21,13 @@ | |||
21 | A banned user will no longer be able to login. | 21 | A banned user will no longer be able to login. |
22 | </div> | 22 | </div> |
23 | 23 | ||
24 | <div class="form-group"> | ||
25 | <my-peertube-checkbox | ||
26 | inputName="banMute" formControlName="mute" | ||
27 | i18n-labelText labelText="Mute this account" | ||
28 | ></my-peertube-checkbox> | ||
29 | </div> | ||
30 | |||
24 | <div class="form-group inputs"> | 31 | <div class="form-group inputs"> |
25 | <input | 32 | <input |
26 | type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button" | 33 | type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button" |