diff options
author | Ms Kimsible <1877318+kimsible@users.noreply.github.com> | 2021-08-26 08:40:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 08:40:18 +0200 |
commit | 52a354ab7af7bd29ca0128fa7c501ea08aa5a343 (patch) | |
tree | d0bdd4e4e113d0b82774d6efd236a127b5f9db35 /client/src/app/+videos/+video-edit/video-add.component.html | |
parent | 7dca45f99db58d9bb3423a3765aaee68c69bc9f2 (diff) | |
download | PeerTube-52a354ab7af7bd29ca0128fa7c501ea08aa5a343.tar.gz PeerTube-52a354ab7af7bd29ca0128fa7c501ea08aa5a343.tar.zst PeerTube-52a354ab7af7bd29ca0128fa7c501ea08aa5a343.zip |
Fix user quota alerts always displayed (#4354)
* Fix user quota alerts display on upload page
* Fix border-radius upload messages alerts
Co-authored-by: Ms Kimsible <kimsible@users.noreply.github.com>
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add.component.html')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add.component.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add.component.html b/client/src/app/+videos/+video-edit/video-add.component.html index 62b42ae10..7dd9ba357 100644 --- a/client/src/app/+videos/+video-edit/video-add.component.html +++ b/client/src/app/+videos/+video-edit/video-add.component.html | |||
@@ -17,15 +17,15 @@ | |||
17 | <ng-container *ngIf="!user.isUploadDisabled()"> | 17 | <ng-container *ngIf="!user.isUploadDisabled()"> |
18 | <div *ngIf="user.isAutoBlocked()" class="upload-message auto-blocked alert alert-warning"> | 18 | <div *ngIf="user.isAutoBlocked()" class="upload-message auto-blocked alert alert-warning"> |
19 | <div>{{ uploadMessages.autoBlock }}</div> | 19 | <div>{{ uploadMessages.autoBlock }}</div> |
20 | <ng-template [ngTemplateOutlet]="AlertButtons" *ngIf="!user.hasNoQuotaLeft() && !user.hasNoQuotaLeftDaily()"></ng-template> | 20 | <ng-template [ngTemplateOutlet]="AlertButtons" *ngIf="!hasNoQuotaLeft && !hasNoQuotaLeftDaily"></ng-template> |
21 | </div> | 21 | </div> |
22 | 22 | ||
23 | <div *ngIf="user.hasNoQuotaLeft()" class="upload-message quota-daily-left alert alert-warning"> | 23 | <div *ngIf="hasNoQuotaLeftDaily" class="upload-message quota-daily-left alert alert-warning"> |
24 | <div>{{ uploadMessages.quotaLeftDaily }}</div> | 24 | <div>{{ uploadMessages.quotaLeftDaily }}</div> |
25 | <ng-template [ngTemplateOutlet]="AlertButtons" *ngIf="!user.hasNoQuotaLeft()"></ng-template> | 25 | <ng-template [ngTemplateOutlet]="AlertButtons" *ngIf="!hasNoQuotaLeft"></ng-template> |
26 | </div> | 26 | </div> |
27 | 27 | ||
28 | <div *ngIf="user.hasNoQuotaLeft()" class="upload-message quota-left alert alert-warning"> | 28 | <div *ngIf="hasNoQuotaLeft" class="upload-message quota-left alert alert-warning"> |
29 | <div>{{ uploadMessages.quotaLeft }}</div> | 29 | <div>{{ uploadMessages.quotaLeft }}</div> |
30 | <ng-template [ngTemplateOutlet]="AlertButtons"></ng-template> | 30 | <ng-template [ngTemplateOutlet]="AlertButtons"></ng-template> |
31 | </div> | 31 | </div> |