diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-28 13:59:23 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-09-28 14:04:06 +0200 |
commit | f67ac646a2c081e02b28a7ab1dc856db6ee20e2f (patch) | |
tree | 4bd19f2eb58d835aac0f58c44941197a402e5cab /client/src/app/+admin/overview/users/user-edit/user-edit.component.html | |
parent | b0d6a800f84ac16fe541b1f098defe862d09069a (diff) | |
download | PeerTube-f67ac646a2c081e02b28a7ab1dc856db6ee20e2f.tar.gz PeerTube-f67ac646a2c081e02b28a7ab1dc856db6ee20e2f.tar.zst PeerTube-f67ac646a2c081e02b28a7ab1dc856db6ee20e2f.zip |
Put video quota info in its own component
Diffstat (limited to 'client/src/app/+admin/overview/users/user-edit/user-edit.component.html')
-rw-r--r-- | client/src/app/+admin/overview/users/user-edit/user-edit.component.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/src/app/+admin/overview/users/user-edit/user-edit.component.html b/client/src/app/+admin/overview/users/user-edit/user-edit.component.html index e484ab8b0..da5879a36 100644 --- a/client/src/app/+admin/overview/users/user-edit/user-edit.component.html +++ b/client/src/app/+admin/overview/users/user-edit/user-edit.component.html | |||
@@ -152,10 +152,7 @@ | |||
152 | [clearable]="false" | 152 | [clearable]="false" |
153 | ></my-select-custom-value> | 153 | ></my-select-custom-value> |
154 | 154 | ||
155 | <div i18n class="transcoding-information" *ngIf="isTranscodingInformationDisplayed()"> | 155 | <my-user-real-quota-info [videoQuota]="getUserVideoQuota()"></my-user-real-quota-info> |
156 | Transcoding is enabled. The video quota only takes into account <strong>original</strong> video size. <br /> | ||
157 | At most, this user could upload ~ {{ computeQuotaWithTranscoding() | bytes: 0 }}. | ||
158 | </div> | ||
159 | 156 | ||
160 | <div *ngIf="formErrors.videoQuota" class="form-error"> | 157 | <div *ngIf="formErrors.videoQuota" class="form-error"> |
161 | {{ formErrors.videoQuota }} | 158 | {{ formErrors.videoQuota }} |