diff options
author | The Cashew Trader <81344401+thecashewtrader@users.noreply.github.com> | 2022-01-14 19:40:27 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-14 15:10:27 +0100 |
commit | 884b17773d113d71472fe86f7076087c784943a6 (patch) | |
tree | 20c9ccde9a90f782347ef3c0d3b83f2aeff52a51 /client/src/app/shared/shared-moderation/user-ban-modal.component.html | |
parent | ff4d2c73fd5a8ab08a5a5c2655eb91c96d39687e (diff) | |
download | PeerTube-884b17773d113d71472fe86f7076087c784943a6.tar.gz PeerTube-884b17773d113d71472fe86f7076087c784943a6.tar.zst PeerTube-884b17773d113d71472fe86f7076087c784943a6.zip |
Fix user ban modal grammar to account for multiple users (#4722)
* Fix user ban modal grammar to account for multiple users
* Address variable sugggestion
* Address property syntax suggestion
* Address localization suggestion
* More concise `isSingleUser` declaration
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 | 2 |
1 files changed, 1 insertions, 1 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 7129b00ca..b41ae230d 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 | |||
@@ -27,7 +27,7 @@ | |||
27 | (click)="hide()" (key.enter)="hide()" | 27 | (click)="hide()" (key.enter)="hide()" |
28 | > | 28 | > |
29 | 29 | ||
30 | <input type="submit" i18n-value value="Ban this user" class="peertube-button orange-button" [disabled]="!form.valid" /> | 30 | <input type="submit" i18n-value [value]="modalMessage" class="peertube-button orange-button" [disabled]="!form.valid" /> |
31 | </div> | 31 | </div> |
32 | </form> | 32 | </form> |
33 | </div> | 33 | </div> |